AW00011916000 Color Creation and Enhancement
Basler scout GigE 177
10.1.1 Bayer Color Filter Alignment
The alignment of the Bayer filter to the pixels in the images acquired by color cameras is either
Bayer BG or Bayer RG depending on the camera model. Table 14 shows the filter alignment for
each available camera model.
Bayer BG alignment means that pixel one and pixel two of the first line in each image transmitted
will be blue and green respectively. And for the second line transmitted, pixel one and pixel two will
be green and red respectively. Since the pattern of the Bayer filter is fixed, you can use this
information to determine the color of all of the other pixels in the image.
Bayer RG alignment means that pixel one and pixel two of the first line in each image transmitted
will be red and green respectively. And for the second line transmitted, pixel one and pixel two will
be green and blue respectively. Since the pattern of the Bayer filter is fixed, you can use this
information to determine the color of all of the other pixels in the image.
Because the size and position of the area of interest on color cameras must be adjusted in
increments of 2, the color filter alignment will remain the same regardless of the camera’s area of
interest (AOI) settings.
The Pixel Color Filter parameter indicates the current alignment of the camera’s Bayer filter to the
pixels in the images captured by a color camera. You can tell how the current AOI is aligned to the
Bayer filter by reading the value of the Pixel Color Filter parameter.
For more information about the camera’s AOI feature, see Section 12.4 on page 238.
Color Camera Model Filter Alignment
scA640-70 BG
scA640-74 BG
scA640-120 BG
scA750-60 RG
scA780-54 BG
scA1000-30 BG
scA1300-32 BG
scA1390-17 BG
scA1400-17 BG
scA1400-30 BG
scA1600-14 BG
scA1600-28 BG
Table 14: Bayer Filter to Sensor Alignment