Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Bayer filter

From Wikipedia, the free encyclopedia
Color filter array
Not to be confused withBayes filter.
"RGBG" redirects here. For the scheme used in displays, seePenTile RGBG.
"Bayer matrix" redirects here. For the matrix used in pattern dithering, seeIndex matrix.
The Bayer arrangement of color filters on the pixel array of an image sensor
Profile/cross-section of sensor

ABayer filter mosaic is acolor filter array (CFA) for arrangingRGB color filters on a square grid of photosensors. Its particular arrangement of color filters is used in most single-chip digitalimage sensors used in digital cameras, and camcorders to create a color image. The filter pattern is half green, one quarter red and one quarter blue, hence is also calledBGGR,RGBG,[1][2]GRBG,[3] orRGGB.[4]

It is named after its inventor,Bryce Bayer ofEastman Kodak. Bayer is also known for his recursively defined matrix used inordered dithering.

Alternatives to the Bayer filter include bothvarious modifications of colors and arrangement and completely different technologies, such ascolor co-site sampling, theFoveon X3 sensor, thedichroic mirrors or a transparent diffractive-filter array.[5]

Explanation

[edit]
  1. Original scene
  2. Output of a 120×80-pixel sensor with a Bayer filter
  3. Output color-coded with Bayer filter colors
  4. Reconstructed image after interpolating missing color information
  5. Full RGB version at 120×80-pixels for comparison (e.g. as a film scan,Foveon orpixel shift image might appear)

Bryce Bayer's patent (U.S. Patent No. 3,971,065[6]) in 1976 called the green photosensorsluminance-sensitive elements and the red and blue oneschrominance-sensitive elements. He used twice as many green elements as red or blue to mimic the physiology of thehuman eye. The luminance perception of the humanretina uses M and Lcone cells combined, during daylight vision, which are most sensitive to green light. These elements are referred to assensor elements,sensels,pixel sensors, or simplypixels; sample values sensed by them, after interpolation, become imagepixels. At the time Bayer registered his patent, he also proposed to use acyan-magenta-yellow combination, that is another set of opposite colors. This arrangement was impractical at the time because the necessary dyes did not exist. Although digital CMY sensors have appeared in some older digital cameras[7], all modern consumer digital cameras use RGB sensitive sensors. The advantage of CMY dyes is that they have an improved light absorption characteristic,[8] but this has been at the cost of lower fidelity conversion to the necessary RGB wavelengths necessary in light emitting displays.[9][10]

Theraw output of Bayer-filter cameras is referred to as aBayer pattern image. Since each pixel is filtered to record only one of three colors, the data from each pixel cannot fully specify each of the red, green, and blue values on its own. To obtain a full-color image, variousdemosaicing algorithms can be used tointerpolate a set of complete red, green, and blue values for each pixel. These algorithms make use of the surrounding pixels of the corresponding colors to estimate the values for a particular pixel.

Differentalgorithms requiring various amounts of computing power result in varying-quality final images. This can be done in-camera, producing aJPEG orTIFF image, or outside the camera using the raw data directly from the sensor. Since the processing power of the camera processor is limited, many photographers prefer to do these operations manually on a personal computer. The cheaper the camera, the fewer opportunities to influence these functions. In professional cameras, image correction functions are completely absent, or they can be turned off. Recording in Raw-format provides the ability to manually selectdemosaicing algorithm and control the transformation parameters, which is used not only in consumer photography but also in solving various technical and photometric problems.[11]

Demosaicing

[edit]
Main article:Demosaicing

Demosaicing can be performed in different ways. Simple methods interpolate the color value of the pixels of the same color in the neighborhood. For example, once the chip has been exposed to an image, each pixel can be read. A pixel with a green filter provides an exact measurement of the green component. The red and blue components for this pixel are obtained from the neighbors. For a green pixel, two red neighbors can be interpolated to yield the red value, also two blue pixels can be interpolated to yield the blue value.

This simple approach works well in areas with constant color or smooth gradients, but it can cause artifacts such as color bleeding in areas where there are abrupt changes in color or brightness especially noticeable along sharp edges in the image. Because of this, other demosaicing methods attempt to identify high-contrast edges and only interpolate along these edges, but not across them.

Other algorithms are based on the assumption that the color of an area in the image is relatively constant even under changing light conditions, so that the color channels are highly correlated with each other. Therefore, the green channel is interpolated at first then the red and afterwards the blue channel, so that the color ratio red-green respective blue-green are constant. There are other methods that make different assumptions about the image content and starting from this attempt to calculate the missing color values.

Artifacts

[edit]

Images with small-scale detail close to the resolution limit of the digital sensor can be a problem to the demosaicing algorithm, producing a result which does not look like the model. The most frequent artifact isMoiré, which may appear as repeating patterns, color artifacts or pixels arranged in an unrealistic maze-like pattern.

False color artifact

[edit]

A common and unfortunate artifact of Color Filter Array (CFA) interpolation or demosaicing is what is known and seen as false coloring. Typically this artifact manifests itself along edges, where abrupt or unnatural shifts in color occur as a result of misinterpolating across, rather than along, an edge. Various methods exist for preventing and removing this false coloring. Smooth hue transition interpolation is used during the demosaicing to prevent false colors from manifesting themselves in the final image. However, there are other algorithms that can remove false colors after demosaicing. These have the benefit of removing false coloring artifacts from the image while using a more robust demosaicing algorithm for interpolating the red and blue color planes.

Three images depicting the false color demosaicing artifact.

Zippering artifact

[edit]

The zippering artifact is another side effect of CFA demosaicing, which also occurs primarily along edges, is known as the zipper effect. Simply put, zippering is another name for edge blurring that occurs in an on/off pattern along an edge. This effect occurs when the demosaicing algorithm averages pixel values over an edge, especially in the red and blue planes, resulting in its characteristic blur. As mentioned before, the best methods for preventing this effect are the various algorithms which interpolate along, rather than across image edges. Pattern recognition interpolation, adaptive color plane interpolation, and directionally weighted interpolation all attempt to prevent zippering by interpolating along edges detected in the image.

Three images depicting the zippering artifact of CFA demosaicing

However, even with a theoretically perfect sensor that could capture and distinguish all colors at each photosite, Moiré and other artifacts could still appear. This is an unavoidable consequence of any system that samples an otherwise continuous signal at discrete intervals or locations. For this reason, most photographic digital sensors incorporate something called an optical low-pass filter (OLPF) or ananti-aliasing (AA) filter. This is typically a thin layer directly in front of the sensor, and works by effectively blurring any potentially problematic details that are finer than the resolution of the sensor.

Modifications

[edit]
This sectionmay contain materialunrelated to the topic of the article and should be moved tocolor filter array instead. Please helpimprove this section or discuss this issue on thetalk page.(September 2012) (Learn how and when to remove this message)
Main article:Color filter array

The Bayer filter is almost universal on consumer digital cameras. Alternatives include theCYGM filter (cyan,yellow, green,magenta) andRGBE filter (red, green, blue,emerald), which require similar demosaicing. TheFoveon X3 sensor (which layers red, green, and blue sensors vertically rather than using a mosaic) and arrangements ofthree separate CCDs (one for each color) doesn't need demosaicing.

Panchromatic cells

[edit]
Three new Kodak RGBW filter patterns

On June 14, 2007,Eastman Kodak announced an alternative to the Bayer filter: a colour-filter pattern that increases the sensitivity to light of the image sensor in a digital camera by using somepanchromatic cells that are sensitive to all wavelengths of visible light and collect a larger amount of light striking the sensor.[12] They present several patterns, but none with a repeating unit as small as the Bayer pattern's 2×2 unit.

Earlier RGBW filter pattern

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.[13] The Kodak patent filing was earlier.[14]

Such cells have previously been used in "CMYW" (cyan, magenta, yellow, and white)[15] "RGBW" (red, green, blue, white)[16] sensors, but Kodak has not compared the new filter pattern to them yet.

Fujifilm "EXR" color filter array

[edit]
EXR sensor

Fujifilm's EXR color filter array are manufactured in both CCD (SuperCCD) andCMOS (BSI CMOS). As with the SuperCCD, the filter itself is rotated 45 degrees. Unlike conventional Bayer filter designs, there are always two adjacent photosites detecting the same color. The main reason for this type of array is to contribute to pixel "binning", where two adjacent photosites can be merged, making the sensor itself more "sensitive" to light. Another reason is for the sensor to record two different exposures, which is then merged to produce an image with greater dynamic range. The underlying circuitry has two read-out channels that take their information from alternate rows of the sensor. The result is that it can act like two interleaved sensors, with different exposure times for each half of the photosites. Half of the photosites can be intentionally underexposed so that they fully capture the brighter areas of the scene. This retained highlight information can then be blended in with the output from the other half of the sensor that is recording a 'full' exposure, again making use of the close spacing of similarly colored photosites.

Fujifilm "X-Trans" filter

[edit]
Main article:Fujifilm X-Trans sensor
The repeating 6×6 grid used in the x-trans sensor

The Fujifilm X-Trans CMOS sensor used in manyFujifilm X-series cameras is claimed[17] to provide better resistance to color moiré than the Bayer filter, and as such they can be made without an anti-aliasing filter. This in turn allows cameras using the sensor to achieve a higher resolution with the same megapixel count. Also, the new design is claimed to reduce the incidence of false colors, by having red, blue and green pixels in each line. The arrangement of these pixels is also said to providegrain more like film.

One of main drawbacks for custom patterns is that they may lack full support in third partyraw processing software likeAdobe Photoshop Lightroom[18] where adding improvements took multiple years.[19]

Quad Bayer

[edit]

Sony introduced Quad Bayer color filter array, which first featured in theiPhone 6's front camera released in 2014. Quad Bayer is similar to Bayer filter, however adjacent 2×2 pixels are the same color, the 4×4 pattern features 4× blue, 4× red, and 8× green.[20] For darker scenes, signal processing can combine data from each 2×2 group, essentially like a larger pixel. For brighter scenes, signal processing can convert the Quad Bayer into a conventional Bayer filter to achieve higher resolution.[21] The pixels in Quad Bayer can be operated in long-time integration and short-time integration to achieve single shot HDR, reducing blending issues.[22] Quad Bayer is also known asTetracell bySamsung, 4-cell byOmniVision,[21][23] and Quad CFA (QCFA) byQualcomm.[24]

On March 26, 2019, theHuawei P30 series were announced featuring RYYB Quad Bayer, with the 4×4 pattern featuring 4× blue, 4× red, and 8× yellow.[25]

Nonacell

[edit]

On February 12, 2020, theSamsung Galaxy S20 Ultra was announced featuring Nonacell CFA. Nonacell CFA is similar to Bayer filter, however adjacent 3×3 pixels are the same color, the 6×6 pattern features 9× blue, 9× red, and 18× green.[26]

See also

[edit]

References

[edit]
Front page of Bryce Bayer's 1976 patent on the Bayer pattern filter mosaic, showing his terminology of luminance-sensitive and chrominance-sensitive elements

Notes

[edit]
  1. ^Jeff Mather (2008)."Adding L* to RGBG".Archived from the original on 2011-07-13. Retrieved2011-02-18.
  2. ^dpreview.com (2000)."Sony announce 3 new digital cameras". Archived fromthe original on 2011-07-21.
  3. ^Margaret Brown (2004).Advanced Digital Photography. Media Publishing.ISBN 0-9581888-5-8.
  4. ^Thomas Maschke (2004).Digitale Kameratechnik: Technik digitaler Kameras in Theorie und Praxis. Springer.ISBN 3-540-40243-8.Archived from the original on 2019-01-09. Retrieved2016-09-23.
  5. ^Wang, Peng; Menon, Rajesh (29 October 2015)."Ultra-high-sensitivity color imaging via a transparent diffractive-filter array and computational optics".Optica.2 (11): 933.Bibcode:2015Optic...2..933W.doi:10.1364/optica.2.000933.
  6. ^"Patent US3971065 - Color imaging array - Google Patents".Archived from the original on 2013-08-11. Retrieved2013-04-23.
  7. ^"Nikon Coolpix 3500 Review".Archived from the original on 2016-06-29. Retrieved2025-12-20.
  8. ^Kuo, An-Li; Wang, Pohsiang; Liu, Hao-Wei; Tsai, Wei-Lung; Hsu, Chia-Ning; Lai, Chien-Wen; Chang, Yu-Chi; Wu, Ching-Chiang; Wu, Ken (2023). "Color performance of 0.8 μm CMOS image sensor with CMY color filters".Electronic Imaging.35 (6):343-1 –343-3.doi:10.2352/EI.2023.35.6.ISS-343.
  9. ^He, Xin; Liu, Yajing; Beckett, Paul; Uddin, Hemayet; Nirmalathas, Ampalavanapillai; Unnithan, Ranjith R. (2021). "CMY camera using a nanorod filter mosaic integrated on a CMOS image sensor".OSA Continuum.4:229–238.doi:10.1364/OSAC.413709.
  10. ^Cha, Sungho; Cho, Suhyun; Yu, Daeil; Lee, Minhyuk; Lee, Kaeul; Gong, Byoungho; Lee, Sang-Woo; Kim, Sung-Su; Yim, Joonseo (2022). "Image quality performance of CMOS image sensor equipped with CMY color filter".Electronic Imaging.34 (9):195-1 –195-4.doi:10.2352/EI.2022.34.9.IQSP-195.
  11. ^Cheremkhin, P. A., Lesnichii, V. V. & Petrov, N. V. (2014)."Use of spectral characteristics of DSLR cameras with Bayer filter sensors".Journal of Physics: Conference Series.536 (1) 012021.Bibcode:2014JPhCS.536a2021C.doi:10.1088/1742-6596/536/1/012021.{{cite journal}}: CS1 maint: multiple names: authors list (link)
  12. ^John Compton and John Hamilton (2007-06-14)."Color Filter Array 2.0".A Thousand Nerds: A Kodak blog. Archived fromthe original on 2007-07-20. Retrieved2011-02-25.
  13. ^"US patent publication 20070145273 "High-sensitivity infrared color camera"". Archived fromthe original on 2017-02-22.
  14. ^"US Patent Application 20070024879 "Processing color and panchromatic pixels"". Archived fromthe original on 2016-12-21.
  15. ^L. J. d'Luna; et al. (1989). "A digital video signal post-processor for color image sensors".1989 Proceedings of the IEEE Custom Integrated Circuits Conference. Vol. 1989. pp. 24.2/1–24.2/4.doi:10.1109/CICC.1989.56823.S2CID 61954103.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.
  16. ^Sugiyama, Toshinobu, US patent application 20050231618,"Image-capturing apparatus"Archived 2017-02-22 at theWayback Machine, filed March 30, 2005
  17. ^"Fujifilm X-Trans sensor technology". Archived fromthe original on 2012-04-09. Retrieved2012-03-15.
  18. ^Diallo, Amadou."Adobe's Fujifilm X-Trans sensor processing tested".dpreview.com.Archived from the original on 21 October 2016. Retrieved20 October 2016.
  19. ^"Adobe Improves X-Trans Processing in Lightroom CC Update: Promises More to Come". Thomas Fitzgerald Photography Blog. 17 June 2015.Archived from the original on 21 October 2016. Retrieved20 October 2016.
  20. ^"Sony Releases Stacked CMOS Image Sensor for Smartphones with Industry's Highest 48 Effective Megapixels".Sony Global - Sony Global Headquarters.Archived from the original on 2019-09-05. Retrieved2019-08-16.
  21. ^ab"How Tetracell delivers crystal clear photos day and night | Samsung Semiconductor Global Website".www.samsung.com.Archived from the original on 2019-08-16. Retrieved2019-08-16.
  22. ^"IMX294CJK | Sony Semiconductor Solutions".Sony Semiconductor Solutions Corporation.Archived from the original on 2019-08-16. Retrieved2019-08-16.
  23. ^"Product Releases | News & Events | OmniVision".www.ovt.com.Archived from the original on 2019-08-16. Retrieved2019-08-16.
  24. ^US pending 20200280659, "Quad color filter array camera sensor configurations" 
  25. ^"Part 4: Non-Bayer CFA, Phase Detection Autofocus (PDAF) | TechInsights".techinsights.com.Archived from the original on 2019-08-16. Retrieved2019-08-16.
  26. ^"Samsung's 108Mp ISOCELL Bright HM1 Delivers Brighter Ultra-High-Res Images with Industry-First Nonacell Technology".news.samsung.com.Archived from the original on 2020-02-12. Retrieved2020-02-14.

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Bayer_filter&oldid=1328607619"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp