Pixel Data Formats
126 Basler pilot
When a color camera is set for Bayer GB 12 Packed, the pixel data output is 12 bit data of the
“unsigned” type. The available range of data values and the corresponding indicated signal levels
are as shown in the table below.
Odd Lines
Byte Data
B
0
Red value for P
0
bits 11 ... 4
B
1
Green value for P
1
bits 3 ... 0 Red value for P
0
bits 3 ... 0
B
2
Green value for P
1
bits 11 ... 4
B
3
Red value for P
2
bits 11 ... 4
B
4
Green value for P
3
bits 3 ... 0 Red value for P
2
bits 3 ... 0
B
5
Green value for P
3
bits 11 ... 4
B
6
Red value for P
4
bits 11 ... 4
B
7
Green value for P
5
bits 3 ... 0 Red value for P
4
bits 3 ... 0
B
8
Green value for P
5
bits 11 ... 4
• •
• ••
• •
• •
• ••
• •
B
m-5
Red value for P
n-3
bits 11 ... 4
B
m-4
Green value for P
n-2
bits 3 ... 0 Red value for P
n-3
bits 3 ... 0
B
m-3
Green value for P
n-2
bits 11 ... 4
B
m-2
Red value for P
n-1
bits 11 ... 4
B
m-1
Green value for P
n
bits 3 ... 0 Red value for P
n-1
bits 3 ... 0
B
m
Green value for P
n
bits 11 ... 4
This Data Value
(Hexadecimal)
Indicates This Signal Level
(Decimal)
0x0FFF 4095
0x0FFE 4094
• •
• •
• •
0x0001 1
0x0000 0