Bayer Mask, Mosaic or Bayer Pattern

updated: 2024-03-19


Bayer filter mosaic is a color filter array (CFA) for  arranging RGB color filters on a square grid of photosensors. Its particular arrangement of color filters is used in most single-chip digital image sensors used in digital cameras, camcorders, and scanners to create a color image. The filter pattern is 50% green, 25% red and 25% blue, hence is also called BGGR, RGBG,[1][2] GRBG,[3] or RGGB.[4] [1]

Bayer Mask specifies the particular arrangement of Color Filter Array used by your camera. There are four possible arrangements/patterns of how red, green and blue pixels can be placed on the camera sensor. The number of green pixels is always doubled compared to red or blue pixels. This is because the human eye is more sensitive to green light, and most OSC cameras have been designed for daylight use. For normal daylight RGB images the green channel usually is a good approximation to the luminance component, where our vision system perceives most of the detail. The following image shows an example of a CFA matrix and the four supported CFA patterns. [2]


[1] Wikipedia

[2] PixInsight Reference Documentation | Debayer

Created with the Personal Edition of HelpNDoc: Experience the power of a responsive website for your documentation