Features AW00123409000
276 Basler ace USB 3.0
When mirror image features are enabled, the effective alignments differ systematically from the
physical alignments. The applicable pixel formats vary with the effective alignments.
For more information about effective alignments related to mirror image features, see Section 7.11
on page 260.
Bayer Formats
Depending on the camera model, the cameras equipped with a Bayer pattern color filter can output
color images based on the Bayer pixel formats given in Table 56.
When a color camera is set for one of these Bayer pixel formats, the pixel data is not processed or
interpolated in any way. For each pixel covered with a red portion of the filter, you get 8, 10 or 12
bits of red data. For each pixel covered with a green portion of the filter, you get 8, 10 or 12 bits of
green data. And for each pixel covered with a blue portion of the filter, you get 8, 10 or 12 bits of
blue data. (This type of pixel data is sometimes referred to as "raw" output.)
RGB8 and BGR8 Formats
When a color camera is set for the RGB8 or BGR8 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 different output sequences for the red, green, and blue data.
YUV Formats
Most color cameras with a Bayer filter can output color images based on pixel data in YCbCr422_8
format.
When a color camera is set for this format, each pixel value in the captured image goes through a
two step conversion process as it exits the sensor and passes through the camera’s electronics.
This process yields Y, Cb, and Cr color information for each pixel.
In the first step of the process, a demosaicing algorithm is performed to get RGB data for each pixel.
This is required because color cameras with a Bayer filter on the sensor gather only one color of
light for each individual pixel.
The second step of the process is to convert the RGB information to the YCbCr color model. The
conversion algorithm uses the following formulas:
Y = 0.299 R + 0.587 G + 0.114 B
Cb = - 0.16874 R - 0.33126 G + 0.5000 B + 128
Cr = 0.5000 R - 0.41869 G - 0.08131 B + 128
You can find detailed information about the mono and color pixel formats in the
Pixel Format Naming Convention, Version 2.0 and above. You can obtain the
document from the Automated Imaging Association (AIA).