User`s manual

Color Creation and Enhancement AW00089316000
156 Basler ace GigE
8.1.1 Bayer Color Filter Alignment
The alignment of the Bayer filter to the pixels in the images acquired by color cameras depends on
the camera model. Table 14 shows the filter alignment for each available camera model.
On all color camera models that have sensors equipped with a Bayer filter, the alignment of the filter
to the pixels in the acquired images is Bayer BG or Bayer GR (see Table 14).
Bayer BG alignment, for example, 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.
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.
Because the size and position of the area of interest on color cameras with a Bayer filter must be
adjusted in increments of 2, the color filter alignment will remain as Bayer BG or Bayer GR
regardless of the camera’s area of interest (AOI) settings.
For more information about the camera’s AOI feature, see Section 10.5 on page 225.
Color Camera Model Filter Alignment
acA640-90 BG
acA640-100 BG
acA645-100 BG
acA780-75 BG
acA1300-30 BG
acA1600-20 BG
acA2000-50 GR
acA2040-25 GR
acA2500-14 BG
Table 14: Bayer Filter to Sensor Alignment