User`s manual
Basic Operation & Standard Features
3-34
BASLER A102f
DRAFT
Color Codings
In Format_7, Mode_0, the Mono 8, Raw 8, Raw 16, and YUV 4:2:2 color codings are available.
When the
Mono 8 ID is set in the Color_Coding_ID field of the Format_7, Mode_0 register, the
camera outputs 8 bits per pixel and outputs only the Y component (brightness) of the YUV format.
When the
Raw 8 ID is set in the Color_Coding_ID field of the Format_7, Mode_0 register, the
camera outputs 8 bits per pixel and outputs the raw data for each pixel. The pixel data is not
processed to account for the color filter. (This type of output is sometimes called “Bayer 8.”)
When the
Raw 16 ID is set in the Color_Coding_ID field of the Format_7, Mode_0 register, the
camera outputs 16 bits per pixel but only 12 bits are effective. The effective pixel data fills from
the LSB and the unused bits are filled with zeros. Pixel data is stored in the PC memory in little
endian format, i.e., the low byte for each pixel is stored at the lower address and the high byte is
stored at the neighboring higher address. The camera outputs raw data for each pixel. The pixel
data is not processed to account for the color filter.
When the
YUV 4:2:2 ID is set in the Color_Coding_ID field of the Format_7, Mode_0 register, the
camera outputs image data in the YUV 4:2:2 format at an average of 16 bits per pixel.
Format_7, Mode_1
Format_7, Mode_1 is very similar to Format_7, Mode_0 with the exception of the available color
codings and how the color codings work.
Format_7, Mode_1 is parameterized by using the Format_7, Mode_1 control and status registers
(see page 4-12).
Color Codings
In Format_7, Mode_1, only the Mono 8 color coding is available and the color coding works
differently than the Mono 8 color coding available in Format_7, Mode_0.
When the
Mono 8 ID is set in the Color_Coding_ID field of the Format_7, Mode_1 register, the
camera outputs 8 bits per pixel and outputs the raw data for each pixel. The pixel data is not
processed to account for the color filter. (This type of output is sometimes called “Bayer 8.”)
This mode of operation is included on the
A102fc for compatibility with versions 1.6 and below of
the Basler BCAM 1394 driver software. These early versions of the BCAM software require a
Mono 8 color coding that results in the output of raw pixel data.
L
When the camera is set for Format_7, Mode_0 and the Mono 8 color coding is se-
lected, the available gray values are limited to a range from 16 to 234.
When the camera is set for the Raw 16 or the YUV 4:2:2 color coding, the maximum
frame rate at full resolution is 11.3 frames/s.
The Raw 8 and Raw 16 color codings are defined in version 1.31 of the IIDC specifi-
cation.
Color code definitions can very from camera model to camera model. This is especially
true for older models of Basler cameras.