Image Data Formats & Structures
BASLER A102
f 5-13
DRAFT
5.4 Image Data Structure
5.4.1 Data Structure for a Y (Mono 8) or an
R, G or B (Raw 8) Component
The data output for a Y (mono 8) component or an R, G or B (raw 8) component is 8 bit data of
the “unsigned char” type. The range of data values for a Y mono component and the
corresponding indicated signal levels are shown below.
5.4.2 Data Structure for a U or a V Component
The data output for a U or a V component is 8 bit data of the “straight binary” type. The range of
data values for a U or a V component and the corresponding indicated signal levels are shown
below.
The signal level of a U component or a V component can range from -128 to +127 (decimal).
Notice that the data values have been arranged to represent the full signal level range.
This Data Value
(Hexadecimal)
Indicates This Signal Level
(Decimal)
0xFF 255
0xFE 254
••
••
••
0x01 1
0x00 0
This Data Value
(Hexadecimal)
Indicates This Signal Level
(Decimal)
0xFF 127
0xFE 126
••
••
••
0x81 1
0x80 0
0x7F -1
••
••
••
0x01 -127
0x00 -128