
Pixel Data Formats
AW00011916000
214
Basler scout GigE
11.3.6 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
page 205
.
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.
The table below describes how the pixel data for a received frame will be ordered in the image buffer
in your PC when the camera is set for YUV 4:2:2 Packed output.
The following standards are used in the table:
P
0
= the first pixel transmitted by the camera
P
n
= the last pixel transmitted by the camera
B
0
= the first byte in the buffer
B
m
= the last byte in the buffer
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.
Byte
Data
B
0
U value for P
0
B
1
Y value for P
0
B
2
V Value for P
0
B
3
Y value for P
1
Summary of Contents for scout GigE
Page 4: ......
Page 50: ...Specifications Requirements and Precautions AW00011916000 40 Basler scout GigE...
Page 52: ...Installation AW00011916000 42 Basler scout GigE...
Page 66: ...Basler Network Drivers and Parameters AW00011916000 56 Basler scout GigE...
Page 80: ...Network Related Camera Parameters and Managing Bandwidth AW00011916000 70 Basler scout GigE...
Page 184: ...Image Acquisition Control AW00011916000 174 Basler scout GigE...
Page 206: ...Color Creation and Enhancement AW00011916000 196 Basler scout GigE...
Page 232: ...Pixel Data Formats AW00011916000 222 Basler scout GigE...
Page 354: ...Chunk Features AW00011916000 344 Basler scout GigE...
Page 358: ...Troubleshooting and Support AW00011916000 348 Basler scout GigE...
Page 367: ...AW00011916000 Revision History Basler scout GigE 357...
Page 368: ...Revision History AW00011916000 358 Basler scout GigE...