User`s manual

Pixel Data Formats AW00049313000
158 Basler runner
10.3.2 RGB 8 Packed Format
When a color camera is set for the RGB 8 Packed pixel data format, it outputs 8 bits of red data, 8
bits of green data, and 8 bits of blue data for each pixel in the acquired frame.
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 RGB 8 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
With the camera set for RGB 8 Packed, the pixel data output is 8 bit data of the “unsigned char”
type. The available range of data values and the corresponding indicated signal levels are as shown
in the table below.
Byte Pixel - Data Bits Byte Pixel - Data Bits
B
0
R P
0
7 ... 0
B
1
G P
0
7 ... 0
B
2
B P
0
7 ... 0 B
m-5
R P
n-1
7 ... 0
B
3
R P
1
7 ... 0 B
m-4
G P
n-1
7 ... 0
B
4
G P
1
7 ... 0 B
m-3
B P
n-1
7 ... 0
B
5
B P
1
7 ... 0 B
m-2
R P
n
7 ... 0
B
m-1
G P
n
7 ... 0
B
m
B P
n
7 ... 0
This Data Value
(Hexadecimal)
Indicates This Signal Level
(Decimal)
0xFF 255
0xFE 254
 
 
 
0x01 1
0x00 0