User`s manual

AW00118302000 Pixel Data Formats
Basler racer GigE 155
9.2.3 Mono 12 Packed Format
When a monochrome camera is set for the Mono 12 Packed pixel data format, it outputs 12 bits of
brightness data per pixel. Every three bytes transmitted by the camera contain 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 Mono 12 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
Byte Pixel - Data Bits
B
0
P
0
11 ... 4
B
1
P
1
3 ... 0 P
0
3 ... 0
B
2
P
1
11 ... 4
B
3
P
2
11 ... 4
B
4
P
3
3 ... 0 P
2
3 ... 0
B
5
P
3
11 ... 4
B
6
P
4
11 ... 4
B
7
P
5
3 ... 0 P
4
3 ... 0
B
8
P
5
11 ... 4
B
9
P
6
11 ... 4
B
10
P
7
3 ... 0 P
6
3 ... 0
B
11
P
7
1 ... 4
 
  
 
B
m-5
P
n-3
11 ... 4
B
m-4
P
n-2
3 ... 0 P
n-3
3 ... 0
B
m-3
P
n-2
11 ... 4
B
m-2
P
n-1
11 ... 4
B
m-1
P
n
3 ... 0 P
n-1
3 ... 0
B
m
P
n
11 ... 4