跳转到内容

Pixel Format#

相机的 Pixel Format 功能允许您选择相机传输的图像数据的格式。

像素格式会有所不同,具体取决于您的相机型号及其是彩色相机还是单色相机。

信息

有关像素格式的详细信息,请参见GenICam 像素格式命名约定 2.1

该功能的使用#

选择一种像素格式#

选择像素格式:

  1. 确保相机空闲,即未在捕获图像。
  2. 设置 PixelFormat 参数为以下值(如果可用):

确定像素格式#

要确定相机当前使用的像素格式,请获取 PixelFormat 参数的值。

可用像素格式#

信息

  • 如果您的相机型号具有 Sensor Bit Depth 功能,则可以独立于像素格式设置传感器输出数据的位深度。例如,您可以将相机配置为基于 12 位传感器数据输出 8 位图像数据(像素格式 = Mono 8,传感器位深度 = 12 位)。
  • If the Transfer Bit Depth feature is available on your camera model, you can set the bit depth used for internal image processing independently of the pixel format. For example, you can configure the camera to output 8-bit image data based on data with a transfer bit depth of 10 bit (pixel format = Mono 8, transfer bit depth = 10 bit).
  • 有关枚举值的列表,请参阅 Basler pylon Camera Software Suite 随附的程序员指南和参考文档

单色格式#

如果单色相机使用某种 Mono 像素格式,则每个像素输出 8、10 或 12 位数据。

如果彩色相机使用某种单色像素格式,则每个像素的值首先会转换为 YCbCr 颜色模型。此模型的 Y 分量表示亮度值,并且等效于从单色传感器中的一个像素得出的值。因此,从本质上讲,将彩色相机设置为 Mono 8 格式(例如)时,它将输出 8 位单色图像。

可用单色格式取决于您的相机型号

拜耳格式#

彩色相机均配有拜耳彩色滤光片,并可以根据拜耳像素格式输出彩色图像。

如果彩色相机使用其中一种拜耳像素格式,则相机为每个像素输出 8、10 或 12 位数据。对每个像素进行过滤以仅记录红色、绿色和蓝色中的一种颜色。像素数据不会以任何方式进行处理或插补。此类像素数据有时称为“原始”输出。

可用拜耳格式取决于您的相机型号

YCbCr 格式#

彩色相机还可以基于 YCbCr(或 YUV)格式的像素数据输出彩色图像。

如果彩色相机使用此格式,则采集到的图像中的每个像素值在离开传感器并通过相机时都会经历一个转换过程。此过程为每个像素值生成 Y、Cb 和 Cr 颜色信息。

RGB 和 BGR 格式#

当彩色相机使用 RGB 8 或 BGR 8 像素格式时,相机将为所采集帧中的每个像素输出 8 位红色数据、8 位绿色数据和 8 位蓝色数据。

像素格式因颜色数据的输出顺序(红、绿、蓝或蓝、绿、红)而异。

最大像素位深度#

最大像素位深度由相机上可用像素格式中具有最高位深度的像素格式定义。

示例:如果相机可用的像素格式为 Mono 8 和 Mono 12,则相机的最大像素位深度为 12 位。

未压缩和压缩像素格式#

当相机使用未压缩的像素格式(例如,Bayer 12)时,像素数据始终为 8 位对齐。根据需要插入填充位(零)以到达下一个 8 位边界。

示例(简化):

假设您选择了 12 位未压缩像素格式。相机每像素输出 16 位:12 位像素数据和 4 个填充位(旨在到达下一个 8 位边界)。

未压缩像素格式

相机使用压缩像素格式(例如,Bayer 12p)时,像素数据对齐。这意味着没有插入填充位,并且一个字节可以包含多个像素的数据。

示例(简化):

假设您选择了 12 位压缩像素格式。相机每个像素输出 12 位。这使得两个像素的数据总是分布在 3 个字节中。

压缩像素格式

信息

确切的数据对齐方式取决于像素格式。您可以在 GenICam 像素格式命名约定 2.1 中找到相关详细信息。

详情#

显示所有相机型号

相机型号 可用像素格式
a2A1920-51gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A1920-51gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A1920-51gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A1920-51gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A1920-160ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A1920-160ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A1920-160umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A1920-160umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2448-23gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2448-23gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2448-23gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2448-23gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2448-75ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2448-75ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2448-75umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2448-75umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2590-22gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2590-22gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2590-22gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2590-22gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2590-60ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2590-60ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2590-60umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2590-60umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2600-20gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer GB 8a
Bayer GB 10a
Bayer GB 10pa
Bayer GB 12a
Bayer GB 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2600-20gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer GB 8a
Bayer GB 10a
Bayer GB 10pa
Bayer GB 12a
Bayer GB 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2600-20gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2600-20gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2600-64ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer GB 8a
Bayer GB 10a
Bayer GB 10pa
Bayer GB 12a
Bayer GB 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2600-64ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer GB 8a
Bayer GB 10a
Bayer GB 10pa
Bayer GB 12a
Bayer GB 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2600-64umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2600-64umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2840-14gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2840-14gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2840-14gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2840-14gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2840-48ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2840-48ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A2840-48umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A2840-48umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A3840-13gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A3840-13gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A3840-13gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A3840-13gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A3840-45ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A3840-45ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A3840-45umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A3840-45umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4096-9gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4096-9gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4096-9gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4096-9gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4096-30ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4096-30ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4096-30umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4096-30umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4200-12gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer GB 8a
Bayer GB 10a
Bayer GB 10pa
Bayer GB 12a
Bayer GB 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4200-12gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer GB 8a
Bayer GB 10a
Bayer GB 10pa
Bayer GB 12a
Bayer GB 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4200-12gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4200-12gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4200-40ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer GB 8a
Bayer GB 10a
Bayer GB 10pa
Bayer GB 12a
Bayer GB 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4200-40ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer GB 8a
Bayer GB 10a
Bayer GB 10pa
Bayer GB 12a
Bayer GB 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4200-40umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4200-40umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4504-5gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4504-5gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4504-5gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4504-5gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4504-18ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4504-18ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A4504-18umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A4504-18umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A5320-7gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A5320-7gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A5320-7gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A5320-7gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A5320-23ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A5320-23ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A5320-23umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A5320-23umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A5328-4gcBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A5328-4gcPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A5328-4gmBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A5328-4gmPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A5328-15ucBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A5328-15ucPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 10pa
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
a2A5328-15umBAS Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
a2A5328-15umPRO Mono 8
Mono 10
Mono 10p
Mono 12
Mono 12p
acA640-90gc Mono 8
Bayer BG 8
Bayer BG 12
Bayer BG 12
YUV 4:2:2 (YUYV) Packed
acA640-90uc Mono 8
Bayer BG 8a
Bayer BG 10a
Bayer BG 10 Packeda
RGB 8
BGR 8
YCbCr422_8
acA640-121gm Mono 8
Mono 12
Mono 12 Packed
acA640-300gc Mono 8
Bayer BG 8a
Bayer BG 10a
Bayer BG 10 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA640-300gm Mono 8
Mono 10
Mono 10 Packed
acA640-750uc Mono 8
Bayer BG 8a
Bayer BG 10a
Bayer BG 10 Packeda
RGB 8
BGR 8
YCbCr422_8
acA640-750um Mono 8
Mono 10
Mono 10 Packed
acA720-290gc Mono 8
Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA720-290gm Mono 8
Mono 12
Mono 12 Packed
acA720-520uc Mono 8
Bayer BG 8a
Bayer BG 10a
Bayer BG 10 Packeda
RGB 8
BGR 8
YCbCr422_8
acA720-520um Mono 8
Mono 12
Mono 12 Packed
acA800-200gc Mono 8
Bayer BG 8
Bayer BG 10
Bayer BG 10 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA800-200gm Mono 8
Mono 10
Mono 10 Packed
acA800-510uc Mono 8
Bayer BG 8a
Bayer BG 10a
Bayer BG 10 Packeda
RGB 8
BGR 8
YCbCr422_8
acA800-510um Mono 8
Mono 10
Mono 10 Packed
acA1280-60gc Mono 8
Bayer BG 8
Bayer BG 12b
Bayer BG 12 Packedb
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1280-60gm Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1300-60gc Mono 8
Bayer RG 8
Bayer RG 12b
Bayer RG 12 Packedb
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1300-60gm Mono 8
Mono 12
Mono 12 Packed
acA1300-60gmNIR Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1300-75gc Mono 8
Bayer BG 8a
Bayer BG 10a
Bayer BG 10 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1300-75gm Mono 8
Mono 10
Mono 10 Packed
acA1300-200uc Mono 8
Bayer BG 8a
Bayer BG 10a
Bayer BG 10 Packeda
RGB 8
BGR 8
YCbCr422_8
acA1300-200um Mono 8
Mono 10
Mono 10 Packed
acA1440-73gc Mono 8
Bayer RG 8a
Bayer RG 12]a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1440-73gm Mono 8
Mono 12
Mono 12 Packed
acA1440-220uc Mono 8
Bayer BG 8a
Bayer BG 10a
Bayer BG 10 Packeda
RGB 8
BGR 8
YCbCr422_8
acA1440-220um Mono 8
Mono 12
Mono 12 Packed
acA1600-20gc Mono 8
Bayer RG 8
Bayer RG 12
Bayer RG 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1600-20uc Mono 8
Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
RGB 8
BGR 8
YCbCr422_8
acA1600-60gc Mono 8
Bayer RG 8
Bayer RG 12b
Bayer RG 12 Packedb
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1600-60gm Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1920-25gc Mono 8
Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1920-25gm Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1920-25uc Mono 8
Bayer GB 8
Bayer GB 12
Bayer GB 12 Packed
YCbCr422_8
acA1920-25um Mono 8
Mono 12
Mono 12 Packed
acA1920-40gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1920-40gm Mono 8
Mono 12
Mono 12 Packed
acA1920-40uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA1920-40ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA1920-40um Mono 8
Mono 12
Mono 12 Packed
acA1920-40umMED Mono 8
Mono 12
Mono 12 Packed
acA1920-48gc Mono 8
Bayer RG 8a
Bayer RG 10a
Bayer RG 10 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1920-48gm Mono 8
Mono 10
Mono 10 Packed
acA1920-50gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA1920-50gm Mono 8
Mono 12
Mono 12 Packed
acA1920-150uc Mono 8
Bayer RG 8a
Bayer RG 10a
Bayer RG 10 Packeda
RGB 8
BGR 8
YCbCr422_8
acA1920-150um Mono 8
Mono 10
Mono 10 Packed
acA1920-155uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA1920-155ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA1920-155um Mono 8
Mono 12
Mono 12 Packed
acA1920-155umMED Mono 8
Mono 12
Mono 12 Packed
acA2000-50gc Mono 8
Bayer GR 8
Bayer GR 12
Bayer GR 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2000-50gm Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2000-50gmNIR Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2000-165uc Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
acA2000-165um Mono 8
Mono 12
Mono 12 Packed
acA2000-165umNIR Mono 8
Mono 12
Mono 12 Packed
acA2040-25gc Mono 8
Bayer GR 8
Bayer GR 12
Bayer GR 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2040-25gm Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2040-25gmNIR Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2040-35gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2040-35gm Mono 8
Mono 12
Mono 12 Packed
acA2040-55uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA2040-55um Mono 8
Mono 12
Mono 12 Packed
acA2040-90uc Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
acA2040-90um Mono 8
Mono 12
Mono 12 Packed
acA2040-90umNIR Mono 8
Mono 12
Mono 12 Packed
acA2040-120uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA2040-120um Mono 8
Mono 12
Mono 12 Packed
acA2440-20gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2440-20gm Mono 8
Mono 12
Mono 12 Packed
acA2440-35uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA2440-35ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA2440-35um Mono 8
Mono 12
Mono 12 Packed
acA2440-35umMED Mono 8
Mono 12
Mono 12 Packed
acA2440-75uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA2440-75ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA2440-75um Mono 8
Mono 12
Mono 12 Packed
acA2440-75umMED Mono 8
Mono 12
Mono 12 Packed
acA2500-14gc Mono 8
Bayer GB 8
Bayer GB 12
Bayer GB 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2500-14gm Mono 8
Mono 12
Mono 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2500-14uc Mono 8
Bayer GB 8
Bayer GB 12
Bayer GB 12 Packed
YCbCr422_8
acA2500-14um Mono 8
Mono 12
Mono 12 Packed
acA2500-20gc Mono 8
Bayer RG 8a
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2500-20gcMED Mono 8
Bayer RG 8a
Bayer RG 10a
Bayer RG 10 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA2500-20gm Mono 8
Mono 10
Mono 10 Packed
acA2500-20gmMED Mono 8
Mono 10
Mono 10 Packed
acA2500-60uc Mono 8
Bayer RG 8a
Bayer RG 10a
Bayer RG 10 Packeda
RGB 8
BGR 8
YCbCr422_8
acA2500-60um Mono 8
Mono 10
Mono 10 Packed
acA3088-16gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA3088-16gm Mono 8
Mono 12
Mono 12 Packed
acA3088-57uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA3088-57ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA3088-57um Mono 8
Mono 12
Mono 12 Packed
acA3088-57umMED Mono 8
Mono 12
Mono 12 Packed
acA3800-10gc Mono 8
Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA3800-10gm Mono 8
Mono 12
Mono 12 Packed
acA3800-14uc Mono 8
Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
YCbCr422_8
acA3800-14um Mono 8
Mono 12
Mono 12 Packed
acA4024-8gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA4024-8gm Mono 8
Mono 12
Mono 12 Packed
acA4024-29uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4024-29um Mono 8
Mono 12
Mono 12 Packed
acA4096-11gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA4096-11gm Mono 8
Mono 12
Mono 12 Packed
acA4096-30uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4096-30ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4096-30um Mono 8
Mono 12
Mono 12 Packed
acA4096-30umMED Mono 8
Mono 12
Mono 12 Packed
acA4096-40uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4096-40ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4096-40um Mono 8
Mono 12
Mono 12 Packed
acA4096-40umMED Mono 8
Mono 12
Mono 12 Packed
acA4112-8gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA4112-8gm Mono8
Mono 12
Mono 12 Packed
acA4112-20uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4112-20ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4112-20um Mono 8
Mono 12
Mono 12 Packed
acA4112-20umMED Mono 8
Mono 12
Mono 12 Packed
acA4112-30uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4112-30ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA4112-30um Mono 8
Mono 12
Mono 12 Packed
acA4112-30umMED Mono 8
Mono 12
Mono 12 Packed
acA4600-7gc Mono 8
Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA4600-10uc Mono 8
Bayer BG 8
Bayer BG 12
Bayer BG 12 Packed
YCbCr422_8
acA5472-5gc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
YUV 4:2:2 Packed
YUV 4:2:2 (YUYV) Packed
acA5472-5gm Mono 8
Mono 12
Mono 12 Packed
acA5472-17uc Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA5472-17ucMED Mono 8
Bayer RG 8a
Bayer RG 12a
Bayer RG 12 Packeda
RGB 8
BGR 8
YCbCr422_8
acA5472-17um Mono 8
Mono 12
Mono 12 Packed
acA5472-17umMED Mono 8
Mono 12
Mono 12 Packed
boA4096-93cc Mono 8
Mono 10
Bayer RG 8a
Bayer RG 10a
Bayer RG 12a
RGB 8
YUV422
boA4096-93cm Mono 8
Mono 10
Mono 12
boA4112-68cc Mono 8
Mono 10
Bayer RG 8a
Bayer RG 10a
Bayer RG 12a
RGB 8
YUV422
boA4112-68cm Mono 8
Mono 10
Mono 12
boA4500-45cc Mono 8
Mono 10
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 12a
RGB 8
YUV422_8
boA4500-45cm Mono 8
Mono 10
Mono 12
boA4504-100cc Mono 8
Mono 10
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 12a
RGB 8
YUV422_8
boA4504-100cm Mono 8
Mono 10
Mono 12
boA5320-150cc Mono 8
Mono 10
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 12a
RGB 8
YUV422_8
boA5320-150cm Mono 8
Mono 10
Mono 12
boA5328-100cc Mono 8
Mono 10
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 12a
RGB 8
YUV422_8
boA5328-100cm Mono 8
Mono 10
Mono 12
boA6500-36cc Mono 8
Mono 10
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 12a
RGB 8
YUV422_8
boA6500-36cm Mono 8
Mono 10
Mono 12
boA8100-16cc Mono 8
Mono 10
Mono 12p
Bayer RG 8a
Bayer RG 10a
Bayer RG 12a
RGB 8
YUV422_8
boA8100-16cm Mono 8
Mono 10
Mono 12
daA1280-54uc Bayer 8
Bayer 12
RGB 8c
YCbCr422_8c
daA1280-54um Mono 8
Mono 12
daA1600-60uc Bayer 8a
Bayer 12ab
RGB 8c
YCbCr422_8c
daA1600-60um Mono 8
Mono 12b
daA1920-15um Mono 8
Mono 12
daA1920-30uc Bayer 8a
Bayer 12a
RGB 8c
YCbCr422_8c
daA1920-30um Mono 8
Mono 12
daA1920-160uc Mono 8
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
daA1920-160um Mono 8
Mono 12
Mono 12p
daA2448-70uc Mono 8
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
daA2448-70um Mono 8
Mono 12
Mono 12p
daA2500-14uc Bayer 8a
Bayer 12a
RGB 8c
YCbCr422_8c
daA2500-14um Mono 8
Mono 12
daA3840-45uc Mono 8
Mono 12
Mono 12p
Bayer RG 8a
Bayer RG 12a
Bayer RG 12pa
RGB 8
BGR 8
YCbCr422_8
daA3840-45um Mono 8
Mono 12
Mono 12p
puA1280-54uc Bayer 8
Bayer 12
RGB 8c
YCbCr422_8c
puA1280-54um Mono 8
Mono 12
puA1600-60uc Bayer 8a
Bayer 12ab
RGB 8c
YCbCr422_8c
puA1600-60um Mono 8
Mono 12b
puA1920-30uc Bayer 8a
Bayer 12a
RGB 8c
YCbCr422_8c
puA1920-30um Mono 8
Mono 12
puA2500-14uc Bayer 8a
Bayer 12a
RGB 8c
YCbCr422_8c
puA2500-14um Mono 8
Mono 12

  1. 如果启用了 Reverse X and Reverse Y 功能,实际的拜耳彩色滤波器组会发生变化。

  2. 基于 10 位传感器数据的 12 位图像数据。

  3. 默认情况下,在 sRGB 色彩空间中采集 YCbCr422 和 RGB 8 图像。您可以使用 BslColorSpaceMode 参数将色彩空间更改为 RGB。

示例代码#

// Set the pixel format to Mono 8
camera.PixelFormat.SetValue(PixelFormat_Mono8);
INodeMap& nodemap = camera.GetNodeMap();
// Set the pixel format to Mono 8
CEnumParameter(nodemap, "PixelFormat").SetValue("Mono8");
// Set the pixel format to Mono 8
camera.Parameters[PLCamera.PixelFormat].SetValue(PLCamera.PixelFormat.Mono8);
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Set the pixel format to Mono 8 */
errRes = PylonDeviceFeatureFromString(hdev, "PixelFormat", "Mono8");
CHECK(errRes);

您也可以使用 pylon Viewer 轻松设置参数。

返回顶部