11.2 Pixel Data Formats for Mono Cameras
11.2.1 Mono 8 Format
When a monochrome camera is set for the Mono 8 pixel data format, it outputs 8 bits of brightness
data per 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 Mono8 output.
The following standards are used in the table:
P
= the first pixel transmitted by the camera
0
P
= the last pixel transmitted by the camera
n
B
= the first byte in the buffer
0
B
= the last byte in the buffer
m
Byte
Data
B
Brightness value for P
0
B
Brightness value for P
1
B
Brightness value for P
2
B
Brightness value for P
3
B
Brightness value for P
4
•
•
•
•
With the camera set for Mono8, 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.
This Data Value
(Hexadecimal)
0xFF
0xFE
•
•
•
0x01
0x00
Basler pioneer
(Equivalent to DCAM Mono 8)
Byte
•
0
•
1
B
2
m-4
B
3
m-3
B
4
m-2
B
m-1
B
m
Indicates This Signal Level
(Decimal)
255
254
•
•
•
1
0
Data
•
•
Brightness value for P
n-4
Brightness value for P
n-3
Brightness value for P
n-2
Brightness value for P
n-1
Brightness value for P
n
Pixel Data Formats
143