Pixel Format#
There are different pixel formats depending on the model of your camera and whether it is a color or a mono camera.
Info
Detailed information about pixel formats can be found in the GenICam Pixel Format Naming Convention 2.1.
Using the Feature#
Choosing a Pixel Format#
To choose a pixel format:
- Make sure the camera is idle, i.e., not capturing images.
- Set the
PixelFormat
parameter to one of the following values (if available):MonoXX
(e.g.,Mono10
,Mono12p
)BayerXXYY
(e.g.,BayerBG10
,BayerGR12
)YCbCr422_8
,YUV422Packed
,YUV422_YUYV_Packed
,YCbCr420_8
RGB8
,BGR8
Determining the Pixel Format#
To determine the pixel format currently used by the camera, read the value of the PixelFormat
parameter.
Available Pixel Formats#
Info
- If the Sensor Bit Depth feature is available on your camera model, you can set the bit depth of the data output by the sensor independently of the pixel format. For example, you can configure the camera to output 8-bit image data based on 12-bit sensor data (pixel format = Mono 8, sensor bit depth = 12 bit).
- For a list of the enum values, see the relevant programmer's guide.
Mono Formats#
If a monochrome camera uses one of the mono pixel formats, it outputs 8, 10, or 12 bits of data per pixel.
If a color camera uses the Mono 8 pixel format, the values for each pixel are first converted to the YUV color model. The Y component of this model represents a brightness value and is equivalent to the value that would be derived from a pixel in a monochrome image. So in essence, when a color camera is set to Mono 8, it outputs an 8-bit monochrome image. This type of output is sometimes referred to as "Y Mono 8".
Bayer Formats#
Color cameras are equipped with a Bayer color filter and can output color images based on the Bayer pixel formats given below.
If a color camera uses one of these Bayer pixel formats, it outputs 8, 10, or 12 bits of data per pixel. The pixel data is not processed or interpolated in any way. For each pixel covered with a red filter, you get 8, 10, or 12 bits of red data. For each pixel covered with a green filter, you get 8, 10, or 12 bits of green data. For each pixel covered with a blue filter, you get 8, 10, or 12 bits of blue data. This type of pixel data is sometimes referred to as "raw" output.
YUV Formats#
Color cameras can also output color images based on pixel data in YUV (or YCbCr) format.
If a color camera uses this format, each pixel value in the captured image goes through a conversion process as it exits the sensor and passes through the camera. This process yields Y, U, and V color information for each pixel value.
Info
The values for U and V normally range from -128 to +127. Because the camera transfers U values and V values with unsigned integers, 128 is added to each U value and V value before they are transferred from the camera. This way, values from 0 to 255 can be transferred.
RGB and BGR Formats#
When a color camera uses the RGB 8 or BGR 8 pixel format, the camera outputs 8 bit of red data, 8 bit of green data, and 8 bit of blue data for each pixel in the acquired frame.
The pixel formats differ by the output sequences for the color data (red, green, blue or blue, green, red).
Maximum Pixel Bit Depth#
The maximum pixel bit depth is defined by the pixel format with the highest bit depth among the pixel formats available on your camera.
Example: If the available pixel formats for your camera are Mono 8 and Mono 12, the maximum pixel bit depth of the camera is 12 bit.
Unpacked and Packed Pixel Formats#
When a camera uses an unpacked pixel format (e.g., Bayer 12), pixel data is always 8-bit aligned. Padding bits (zeros) are inserted as necessary to reach the next 8-bit boundary.
Example (simplified):
Assume that you have chosen a 12-bit unpacked pixel format. The camera outputs 16 bits per pixel: 12 bits of pixel data and 4 padding bits to reach the next 8-bit boundary.
When a camera uses a packed pixel format (e.g., Bayer 12p), pixel data is not aligned. This means that no padding bits are inserted and that one byte can contain data of multiple pixels.
Example (simplified):
Assume that you have chosen a 12-bit packed pixel format. The camera outputs 12 bits per pixel. As a consequence, data for two pixels is always spread over 3 bytes.
Info
The exact data alignment depends on the pixel format. You can find detailed information in the GenICam Pixel Format Naming Convention 2.1.
External Links#
- GenICam Pixel Format Naming Convention 2.1 (European Machine Vision Association)
- Bayer filter (Wikipedia)
Specifics#
Camera Model | Available Pixel Formats |
---|---|
a2A1920-51gcBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A1920-51gcPRO | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A1920-51gmBAS | Mono 8 Mono 12 Mono 12p |
a2A1920-51gmPRO | Mono 8 Mono 12 Mono 12p |
a2A1920-160ucBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A1920-160ucPRO | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A1920-160umBAS | Mono 8 Mono 12 Mono 12p |
a2A1920-160umPRO | Mono 8 Mono 12 Mono 12p |
a2A2590-22gcBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A2590-22gcPRO | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A2590-22gmBAS | Mono 8 Mono 12 Mono 12p |
a2A2590-22gmPRO | Mono 8 Mono 12 Mono 12p |
a2A2590-60ucBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A2590-60ucPRO | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A2590-60umBAS | Mono 8 Mono 12 Mono 12p |
a2A2590-60umPRO | Mono 8 Mono 12 Mono 12p |
a2A3840-13gcBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A3840-13gcPRO | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A3840-13gmBAS | Mono 8 Mono 12 Mono 12p |
a2A3840-13gmPRO | Mono 8 Mono 12 Mono 12p |
a2A3840-45ucBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A3840-45ucPRO | Mono 8 Mono 12 Mono 12p Bayer RG 8a Bayer RG 12a Bayer RG 12pa RGB 8 BGR 8 YCbCr422_8 |
a2A3840-45umBAS | Mono 8 Mono 12 Mono 12p |
a2A3840-45umPRO | Mono 8 Mono 12 Mono 12p |
a2A4504-5gcBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a 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 12 Mono 12p |
a2A4504-5gmPRO | Mono 8 Mono 10 Mono 10p Mono 12 Mono 12p |
a2A4504-18ucBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a 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 12 Mono 12p |
a2A4504-18umPRO | Mono 8 Mono 10 Mono 10p Mono 12 Mono 12p |
a2A5320-7gcBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a 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 12 Mono 12p |
a2A5320-7gmPRO | Mono 8 Mono 10 Mono 10p Mono 12 Mono 12p |
a2A5320-23ucBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a 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 12 Mono 12p |
a2A5320-23umPRO | Mono 8 Mono 10 Mono 10p Mono 12 Mono 12p |
a2A5328-4gcBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a 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 12 Mono 12p |
a2A5328-4gmPRO | Mono 8 Mono 10 Mono 10p Mono 12 Mono 12p |
a2A5328-15ucBAS | Mono 8 Mono 12 Mono 12p Bayer RG 8a 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 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-90gm | Mono 8 Mono 12 Mono 12 Packed YUV 4:2:2 Packed 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-90um | Mono 8 Mono 12 Mono 12 Packed |
acA640-120gc | Mono 8 Bayer BG 8 Bayer BG 12 Bayer BG 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUYV) Packed |
acA640-120gm | Mono 8 Mono 12 Mono 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUYV) Packed |
acA640-120uc | Mono 8 Bayer BG 8a Bayer BG 10a Bayer BG 10 Packeda RGB 8 BGR 8 YCbCr422_8 |
acA640-120um | Mono 8 Mono 12 Mono 12 Packed |
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 |
acA780-75gc | Mono 8 Bayer BG 8 Bayer BG 12 Bayer BG 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUYV) Packed |
acA780-75gm | Mono 8 Mono 12 Mono 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUYV) 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-22gc | Mono 8 Bayer BG 8 Bayer BG 12 Bayer BG 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUYV) Packed |
acA1300-22gm | Mono 8 Mono 12 Mono 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUYV) Packed |
acA1300-30gc | Mono 8 Bayer BG 8 Bayer BG 12 Bayer BG 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUYV) Packed |
acA1300-30gm | Mono 8 Mono 12 Mono 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUYV) Packed |
acA1300-30uc | Mono 8 Bayer BG 8 Bayer BG 12 Bayer BG 12 Packed RGB 8 BGR 8 YCbCr422_8 |
acA1300-30um | Mono 8 Mono 12 Mono 12 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-20gm | Mono 8 Mono 12 Mono 12 Packed YUV 4:2:2 Packed YUV 4:2:2 (YUVYV) Packed |
acA1600-20uc | Mono 8 Bayer BG 8 Bayer BG 12 Bayer BG 12 Packed RGB 8 BGR 8 YCbCr422_8 |
acA1600-20um | Mono 8 Mono 12 Mono 12 Packed |
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 Bayer RG 12a Bayer RG 12 Packeda 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 Bayer RG 8a Bayer RG 12a RGB 8 YUV422 |
boA4096-93cm | Mono 8 Mono 12 |
boA4112-68cc | Mono 8 Bayer RG 8a Bayer RG 12a RGB 8 YUV422 |
boA4112-68cm | Mono 8 Mono 12 |
daA1280-54lc | Bayer 8 Bayer 12 RGB 8c YCbCr422_8c |
daA1280-54lm | Mono 8 Mono 12 |
daA1280-54uc | Bayer 8 Bayer 12 RGB 8c YCbCr422_8c |
daA1280-54um | Mono 8 Mono 12 |
daA1600-60lc | Bayer 8a Bayer 12ab RGB 8c YCbCr422_8c |
daA1600-60lm | Mono 8 Mono 12b |
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 |
daA2500-14lc | Bayer 8a Bayer 12ab RGB 8c YCbCr422_8c |
daA2500-14lm | Mono 8 Mono 12 |
daA2500-14uc | Bayer 8a Bayer 12a RGB 8c YCbCr422_8c |
daA2500-14um | Mono 8 Mono 12 |
daA2500-60mc | YCbCr420_8 |
daA2500-60mci | YCbCr420_8 |
daA4200-30mci | YCbCr420_8 |
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 |
-
If you enable the Reverse X and Reverse Y feature, the actual Bayer color filter alignment changes.
-
12-bit image data based on 10-bit sensor data.
-
By default, YCbCr422 and RGB 8 images are acquired in sRGB color space. You can use the BslColorSpaceMode parameter to change the color space to RGB.
Sample Code#
// Set the pixel format to Mono 8
camera.PixelFormat.SetValue(PixelFormat_Mono8);
INodeMap& nodemap = camera.GetNodeMap();
// Set the pixel format to Mono 8
CEnumerationPtr(nodemap.GetNode("PixelFormat"))->FromString("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);
// Set the pixel format to Mono 8
Pylon.DeviceFeatureFromString(hdev, "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);
You can also use the pylon Viewer to easily set the parameters.