User`s manual

AW00104701000 Pixel Data Formats
Basler scout light GigE 157
10.3 Pixel Data Output Formats for
Color Cameras
10.3.1 The Bayer Color Filter
The sensor used in color models of the camera is equipped with an additive color separation filter
known as a Bayer filter. The pixel data output formats available on color cameras are related to the
Bayer pattern, so you need a basic knowledge of the Bayer filter to understand the pixel formats.
With the Bayer filter, each individual pixel is covered by a micro-lens that allows light of only one
color to strike the pixel. The pattern of the Bayer filter used on the camera is as shown in Figure 46
(the figure shows the "BG" filter alignment). As the figure illustrates, within each square of four
pixels, one pixel sees only red light, one sees only blue light, and two pixels see only green light.
(This combination mimics the human eye’s sensitivity to color.)
Fig. 46: Bayer Filter Pattern
B
G
B
G
B
G
B
G
B
G
B
G
B
G
B
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
B
R
G
G
R
G
R
G
R
G
R
G
R
G
R
G
R
G
R
B
G
B
G
B
G
B
G
B
G
B
G
B
G
B
G
G
R
G
R
G
R
G
R
G
R
G
R
G
R
G
R
Sensor
Pixels