User`s manual

Color Creation and Enhancement AW00098504000
130 Basler ace Camera Link
8.1.1 Bayer Color Filter Alignment
On all color camera models, the alignment of the filter to the pixels in the acquired images is Bayer
GB. Bayer GB alignment means that pixel one and pixel two of the first line in each image
transmitted will be green and blue respectively. And for the second line transmitted, pixel one and
pixel two will be red and green 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.
The image area of interest (AOI) parameters can only be changed in certain defined increments.
The increments are designed so that the alignment of the Bayer filter to the pixels in the transmitted
images will stay the same regardless of the size of the image AOI.
When either the reverse X feature or the reverse Y feature or both are used, the alignment of the
color filter to the image remains Bayer GB. The camera includes a mechanism that keeps the filter
alignment constant when these features are used.
For more information about the camera’s AOI feature, see Section 10.3 on page 160.
For more information about the reverse X and reverse Y features, see Section 10.7 on page 179.
8.1.2 Pixel Data Formats Available on Color Cameras
Bayer Formats
Cameras equipped with a Bayer pattern color filter can output pixel data in the Bayer GB 8, the
Bayer GB 10, or the Bayer GB 12 pixel data format. When a color camera is set for one of these
three pixel data output formats, the pixel data is not processed or interpolated in any way. So, for
each pixel covered with a red lens, you get 8, 10, or 12 bits of red data. For each pixel covered with
a green lens, you get 8, 10, or 12 bits of green data. And for each pixel covered with a blue lens,
you get 8, 10, or 12 bits of blue data. (This type of pixel data is sometimes referred to as "raw"
output.)