User`s manual
AW00049313000 Pixel Data Formats
Basler runner 161
10.3.4 RGB 12 V1 Packed Format
When a color camera is set for the RGB 12 Packed V1 pixel data format, it outputs 12 bits of red
data, 12 bits of green data, and 12 bits of blue data for each pixel in an acquired frame. Every nine
bytes transmitted by the camera contain red, blue, and green data for two pixels.
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 12 V1 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
x = unused bit, zero filled
Byte Pixel - Data Bits
B
0
R P
0
11 ... 4
B
1
G P
0
3 ... 0 R P
0
3 ... 0
B
2
G P
0
11 ... 4
B
3
B P
0
11 ... 4
B
4
R P
1
3 ... 0 B P
0
3 ... 0
B
5
R P
1
11 ... 4
B
6
G P
1
11 ... 4
B
7
B P
1
3 ... 0 G P
1
3 ... 0
B
8
B P
1
11 ... 4
B
9
R P
2
11 ... 4
B
10
G P
2
3 ... 0 R P
2
3 ... 0
B
11
G P
2
11 ... 4
B
12
B P
2
11 ... 4
B
13
R P
3
3 ... 0 B P
2
3 ... 0
B
14
R P
3
11 ... 4
B
15
G P
3
11 ... 4
B
16
B P
3
3 ... 0 G P
3
3 ... 0
B
17
B P
3
11 ... 4










