User`s manual

Basic Operation & Standard Features
BASLER A102
f 3-27
DRAFT
3.8.2 Color Filter ID
The Color Filter ID register for Format 7 (see page 4-32) has been implemented on A102f cameras.
This Color Filter ID register can be used to determine the alignment of the camera’s color filter to
the current Area of Interest (AOI). To use this feature, make all desired changes to the camera’s
parameter settings and then read the value in the Filter ID field of the Color Filter ID register. The
field will indicate an ID of 0, 1, 2, or 3 as appropriate.
As shown in Table 3-2, each ID identifies the color of the first two pixels in the first row of the
current AOI and the color of the first two pixels in the second row of the AOI. Due to the repetitive
nature of the Bayer RGB primary color filter (see page 3-25) used in the A102
fc, this information
is all you need to determine the order of the pixel colors with your current settings.
L
The actual range of valid settings for the Blue Value is from 16 (0x10) to 255 (0xFF),
however, only the settings from 64 (0x40) to 255 (0xFF) are useful. If you set the
Blue Value lower than 64 (0x40), the camera will continue to operate, but you will
see unacceptable changes in the color balance.
The actual range of valid settings for the Red Value is from 16 (0x10) to 255 (0xFF),
however, only the settings from 64 (0x40) to 255 (0xFF) are useful. If you set the
Red Value lower than 64 (0x40), the camera will continue to operate, but you will
see unacceptable changes in the color balance.
ID 0 ID 1 ID 2 ID 3
First pixel in the first row R G G B
Second pixel in the first row G B R G
First pixel in the second row G R B G
Second pixel in the second row B G G R
Table 3-2: Color Filter IDs
L
The Color Filter ID register for Format 7 is defined in version 1.31 of the IIDC spec-
ification.
Because the Color Filter ID feature is so new, the Basler BCAM 1394 Driver does not
yet include a method call to access this feature. As a work-around, you can use the
techniques described in the tutorial for the Basler Smart Features Framework Soft-
ware to directly read from or write to the Filter ID field. The Smart Features Frame-
work Software is available on the Basler web site. To download the software go to:
http://www.baslerweb.com/popups/popup_en_1825.php