EasyManua.ls Logo

Basler GigE VISION CAMERAS - YUV 4:2:2 (YUYV Packed) Format

Basler GigE VISION CAMERAS
234 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AW00118303000 Pixel Data Formats
Basler racer GigE 159
9.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 YUV 4:2:2 (YUYV) packed pixel data format is similar to the YUV 4:2:2 pixel format described
in the previous section. The only difference is the order of the bytes transmitted to the host PC. With
the YUV 4:2:2 format, the bytes are ordered as specified in the DCAM standard issued by the 1394
Trade Association. With the YUV 4:2:2 (YUYV) format, the bytes are ordered to emulate the
ordering normally associated with analog frame grabbers and Windows
®
frame buffers.
The Y value transmitted for each pixel is the 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 the 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.
With this format, the Y component is transmitted for each pixel, but the U and V components are
only transmitted for every second pixel.
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
Byte Pixel - Data Bits
B
0
Y P
0
7 ... 0
B
1
U P
0
7 ... 0
B
2
Y P
1
7 ... 0
B
3
V P
0
7 ... 0
B
4
Y P
2
7 ... 0
B
5
U P
2
7 ... 0
B
6
Y P
3
7 ... 0
B
7
V P
2
7 ... 0
B
8
Y P
4
7 ... 0
B
9
U P
4
7 ... 0
B
10
Y P
5
7 ... 0
B
11
V P
4
7 ... 0

Table of Contents

Related product manuals