Basler相机像素位数
pylon Viewer界面中有 8、12、16、24 Bits
黑白相机除了Mono8还有Mono12p,Mono12
注意12不带p的是补了0000的16位,灰度值会以16倍数变化,而不是连续的。
可以通过转换函数 Pylon::CImageFormatConverter 将输入的图像格式转为其他输出格式,具体输入、输出格式如下
Supported input image formats defined by the pixel type:
- PixelType_Mono1packed
- PixelType_Mono2packed
- PixelType_Mono4packed
- PixelType_Mono8
- PixelType_Mono10
- PixelType_Mono10packed
- PixelType_Mono10p
- PixelType_Mono12
- PixelType_Mono12packed
- PixelType_Mono12p
- PixelType_Mono16
- PixelType_BayerGR8
- PixelType_BayerRG8
- PixelType_BayerGB8
- PixelType_BayerBG8
- PixelType_BayerGR10
- PixelType_BayerRG10
- PixelType_BayerGB10
- PixelType_BayerBG10
- PixelType_BayerGR12
- PixelType_BayerRG12
- PixelType_BayerGB12
- PixelType_BayerBG12
- PixelType_BayerGR12Packed
- PixelType_BayerRG12Packed
- PixelType_BayerGB12Packed
- PixelType_BayerBG12Packed
- PixelType_BayerGR10p
- PixelType_BayerRG10p
- PixelType_BayerGB10p
- PixelType_BayerBG10p
- PixelType_BayerGR12p
- PixelType_BayerRG12p
- PixelType_BayerGB12p
- PixelType_BayerBG12p
- PixelType_BayerGR16
- PixelType_BayerRG16
- PixelType_BayerGB16
- PixelType_BayerBG16
- PixelType_RGB8packed
- PixelType_BGR8packed
- PixelType_RGBA8packed
- PixelType_BGRA8packed
- PixelType_RGB10packed
- PixelType_BGR10packed
- PixelType_RGB12packed
- PixelType_BGR12packed
- PixelType_RGB12V1packed
- PixelType_RGB16packed
- PixelType_RGB8planar
- PixelType_RGB16planar
- PixelType_YUV422packed
- PixelType_YUV422_YUYV_Packed
- PixelType_YCbCr422_8_YY_CbCr_Semiplanar
- PixelType_YCbCr420_8_YY_CbCr_Semiplanar
Supported output image formats defined by the pixel type:
- PixelType_BGRA8packed - This pixel type can be used in Windows bitmaps. See Pylon::SBGRA8Pixel.
- PixelType_BGR8packed - This pixel type can be used in Windows bitmaps. See Pylon::SBGR8Pixel.
- PixelType_RGB8packed - See Pylon::SRGB8Pixel.
- PixelType_RGB16packed - See Pylon::SRGB16Pixel.
- PixelType_RGB8planar
- PixelType_RGB16planar
- PixelType_Mono8
- PixelType_Mono16
- PixelType_YUV444planar
- PixelType_YUV422planar
- PixelType_YUV420planar
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?