Pixel Data Formats
Basler pilot 133
When a color camera is set for YUV 4:2:2 (YUYV) output, the pixel data output for the Y component
is 8 bit data of the “unsigned char” type. The range of data values for the Y component and the
corresponding indicated signal levels are shown below.
The pixel data output for the U component or the V component is 8 bit data of the “straight binary”
type. The range of data values for a U or a V component and the corresponding indicated signal
levels are shown below.
The signal level of a U component or a V component can range from -128 to +127 (decimal). Notice
that the data values have been arranged to represent the full signal level range.
This Data Value
(Hexadecimal)
Indicates This Signal Level
(Decimal)
0xFF 255
0xFE 254
• •
• •
• •
0x01 1
0x00 0
This Data Value
(Hexadecimal)
Indicates This Signal Level
(Decimal)
0xFF 127
0xFE 126
• •
• •
• •
0x81 1
0x80 0
0x7F -1
• •
• •
• •
0x01 -127
0x00 -128
Note
The interpolation and conversion algorithms are applied to the averaged pixel
values when the averaging feature is used.