Bayer filter
![]() |
![]() |
A 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 GRGB[1] or other permutation such as RGGB.[2]
It is named after its inventor, Bryce E. Bayer of Eastman Kodak. Bayer is also known for his recursively defined matrix used in ordered dithering.
Explanation
Bryce Bayer's patent (U.S. Patent No. 3,971,065) 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, sensels, 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, the data from each pixel cannot fully determine color on its own. 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.
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 color, which is far more expensive.
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Kodak_RGBW_patterns.svg/240px-Kodak_RGBW_patterns.svg.png)
"Panchromatic" cells
![](http://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/RGBW_Bayer.svg/64px-RGBW_Bayer.svg.png)
On June 14, 2007, Eastman Kodak announced an alternative to the Bayer filter: a color-filter pattern that increases the sensitivity to light of the image sensor in a digital camera by using some "panchromatic" cells that are sensitive to all wavelengths of visible light and collect a larger amount of light striking the sensor.[3] They present several patterns, but none with a repeating unit as small as the Bayer pattern's 2×2 unit.
Another 2007 U.S. patent filing, by Edward T. Chang, claims a sensor where "the color filter has a pattern comprising 2×2 blocks of pixels composed of one red, one blue, one green and one transparent pixel," in a configuration intended to include infrared sensitivity for higher overall sensitivity.[4] The Kodak patent filing was earlier. Did kodak srew this guy?[5]
Such cells have previously been used in "CMYW" (cyan, magenta, yellow, and white)[6] "RGBW" (red, green, blue, white)[7] sensors, but Kodak has not compared the new filter pattern to them yet.
Microlenses and dichroic mirrors
![](http://upload.wikimedia.org/wikipedia/en/thumb/6/68/NikonDichroicPatent.png/240px-NikonDichroicPatent.png)
On November 21, 2006, Nikon Corporation was granted U.S. patent 7,138,663 which places a microlens over a triplet of photoreceptors. Specific wavelengths of light are separated and passed to specific photoreceptors designated to record red, green, and blue wavelengths. Light separation is achieved with dichroic mirrors. This system emulates three-CCD imaging systems with a single array. Image quality is theoretically improved due to much smaller gaps between photoreceptors assigned to a wavelength (each microlens lens acts as a collector for all pertinent wavelengths of light) and reduced light loss through the absence of wavelength filters.
Foveon's vertical color filter
![](http://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Absorption-X3.png/240px-Absorption-X3.png)
Another type of color separation, sometimes called vertical color filter, as opposed to lateral color filter, is used in the Foveon X3 sensor. Each location the image sensor array has three stacked active pixel sensors, utilizing the sensor's silicon itself as the color filter, based on the wavelength-dependent absorption of light in silicon.[8][9]
See also
References
![](http://upload.wikimedia.org/wikipedia/commons/thumb/1/10/US03971065_Bayer_Front.png/350px-US03971065_Bayer_Front.png)
- US patent 3971065, Bryce E. Bayer, "Color imaging array", issued 1976-07-20 on web
Notes
- ^ Margaret Brown (2004). Advanced Digital Photography. Media Publishing.
{{cite book}}
: Unknown parameter|ibsn=
ignored (help) - ^ Thomas Maschke (2004). Digitale Kameratechnik: Technik digitaler Kameras in Theorie und Praxis. Springer.
{{cite book}}
: Unknown parameter|ibsn=
ignored (help) - ^ John Compton and John Hamilton (2007-06-14). "Color Filter Array 2.0". A Thousand Nerds: A Kodak blog. Retrieved 2007-06-15.
- ^ "US patent publication 20070145273 "High-sensitivity infrared color camera"".
- ^ "US Patent Application 20070024879 "Processing color and panchromatic pixels"".
- ^ L. J. d'Luna; et al. "A digital video signal post-processor for color image sensors". Proceedings of the Custom Integrated Circuits Conference. 1989.
A variety of CFA patterns can be used, with various arrangements of red, green, and blue (RGB) or of cyan, magenta, yellow, and white (CMYW) colors.
{{cite journal}}
: Explicit use of et al. in:|author=
(help); line feed character in|quote=
at position 80 (help) - ^ Sugiyama, Toshinobu, US patent application 20050231618, "Image-capturing apparatus", filed March 30, 2005
- ^ "Digital Photography Essentials #003: "Color Separation"". Digital Outback Photo.
- ^ Thomas Kreis (2006). Handbook of Holographic Interferometry: Optical and Digital Methods. Wiley-VCH. ISBN 3527604928.
External links
- RGB "Bayer" Color and MicroLenses, Silicon Imaging (design, manufacturing and marketing of high-definition digital cameras and image processing solutions)
- eLynx image processing library, Big set of Bayer mosaic manipulation source code under GPL.
- Efficient, high-quality Bayer demosaic filtering on GPUs