Bayer filter

From Wikipedia, the free encyclopedia

The Bayer arrangement of color filters on the pixel array of an image sensor
Enlarge
The Bayer arrangement of color filters on the pixel array of an image sensor
Front page of Dr. Bryce Bayer's 1976 patent on the Bayer pattern filter mosaic, showing his terminology of luminance-sensitive and chrominance-sensitive elements
Enlarge
Front page of Dr. Bryce Bayer's 1976 patent on the Bayer pattern filter mosaic, showing his terminology of luminance-sensitive and chrominance-sensitive elements

A Bayer filter mosaic is a color filter array (CFA) for arranging RGB color filters on a square grid of photosensors. The term derives from the name of its inventor, Dr. Bryce E. Bayer of Eastman Kodak, and refers to a particular arrangement of color filters 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 RGBG or GRGB.

Bryce Bayer's patent called the green photosensors luminance-sensitive elements and the red and blue ones chrominance-sensitive elements. He used twice as many green elements as red or blue to mimic the human eye's greater resolving power with green light. These elements are referred to as sensor elements, pixel sensors, or simply pixels; sample values sensed by them, after interpolation, become image pixels.

The raw output of Bayer-filter cameras is referred to as a Bayer pattern image. Since each pixel is filtered to record only one of three colors, two-thirds of the color data is missing from each. To obtain a full-color image, various demosaicing algorithms can be used to interpolate a set of complete red, green, and blue values for each point.

Different algorithms requiring various amounts of computing power result in varying-quality final images. This can be done in-camera, producing a JPEG or TIFF image, or outside the camera using the raw data directly from the sensor.

[edit] Alternatives

The Bayer filter is almost universal on consumer digital cameras. Alternatives include the CYGM filter (cyan, yellow, green, magenta) and RGBE filter (red, green, blue, emerald), which require similar demosaicing; the Foveon X3 sensor, which layers red, green, and blue sensors vertically rather than using a mosaic; or using three separate CCDs, one for each colour, which is far more expensive.

[edit] Reference

[edit] External links

In other languages