Pixel Data Formats
Basler scout light 83
When the camera is set for YUV 4:2:2 Packed 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 data values for a U or a V component will always be zero.
7.2.5 YUV 4:2:2 (YUYV) Packed Format
When a monochrome camera is set for the YUV 4:2:2 (YUYV) Packed pixel data format, the camera
transmits Y, U, and V values in a fashion that mimics the output from a color camera set for YUV
4:2:2 (YUYV) Packed.
The Y value transmitted for each pixel is an actual 8 bit brightness value similar to the pixel data
transmitted when a monochrome camera is set for Mono 8. The U and V values transmitted will
always be zero. With this format, a Y value is transmitted for each pixel, but U and V values are only
transmitted for every second pixel.
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 (YUYV) output.
The following standards are used in the table:
P
0
= the first pixel transmitted by the camera
B
m-3
U value for P
n-1
B
m-2
Y value for P
n-1
B
m-1
V Value for P
n-1
B
m
Y value for P
n
This Data Value
(Hexadecimal)
Indicates This Signal Level
(Decimal)
0xFF 255
0xFE 254
• •
• •
• •
0x01 1
0x00 0
Comments to this Manuals