Yuv 4:2:2 Packed Format (Equivalent To Dcam Yuv 4:2:2) - Basler Pioneer User Manual

Gige vision cameras
Table of Contents

Advertisement

11.3.5 YUV 4:2:2 Packed Format
(Equivalent to DCAM YUV 4:2:2)
When a color camera is set for the YUV 422 Packed pixel data format, each pixel 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, U, and V color information for each pixel.
In the first step of the process, an interpolation algorithm is performed to get full RGB data for each
pixel. This is required because color cameras use a Bayer filter on the sensor and each individual
pixel gathers information for only one color.
For more information on the Bayer filter, see Section 11.3.1 on
The second step of the process is to convert the RGB information to the YUV color model. The
conversion algorithm uses the following formulas:
Y =
0.30 R + 0.59 G + 0.11 B
U = - 0.17 R - 0.33 G + 0.50 B
V =
0.50 R - 0.41 G - 0.09 B
Once the conversion to a YUV color model is complete, the pixel data is transmitted to the host PC.
Note
The values for U and for 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 to each V value before the values are transferred from
the camera. This process allows the values to be transferred on a scale that
ranges from 0 to 255.
Basler pioneer
Pixel Data Formats
page
149.
157

Advertisement

Table of Contents
loading

Table of Contents