color filter

Color filter array

In photography, a color filter array (CFA), or color filter mosaic (CFM), is a mosaic of tiny color filters placed over the pixel sensors of an image sensor to capture color information.

Color filters are needed because the typical photosensors detect light intensity with little or no wavelength specificity, and therefore cannot separate color information.
Since sensors are made of semiconductors they obey solid-state physics.
The concept of the band gap essentially makes each photosensor a high-pass filter of light which allows a large range of frequencies (i.e., the color of light) to be accumulated in the sensor.

The color filters filter the light by wavelength range, such that the separate filtered intensities include information about the color of light.
For example, the Bayer filter (shown to the right) gives information about the intensity of light in red, green, and blue wavelength regions.
The raw image data captured by the image sensor is then converted to a full-color image (with intensities of all three primary colors represented at each pixel) by a demosaicing algorithm which is tailored for each type of color filter.
The spectral transmittance of the CFA elements along with the demosaicing algorithm jointly determine the color rendition. The sensor's passbandquantum efficiency and span of the CFA's spectral responses are typically wider than the visible spectrum, thus all visible colors can be distinguished. The responses of the filters do not generally correspond to the CIE color matching functions, so a color translation is required to convert the tristimulus values into a common, absolute color space.

The Foveon X3 sensor uses a different structure such that a pixel utilizes properties of multi-junctions to stack blue, green, and red sensors on top of each other.
This arrangement does not require a demosaicing algorithm because each pixel has information about each color.

Bayer CFA

The Bayer CFA is named for its inventor, Dr. Bryce E.Bayer from Eastman Kodak. It is realized by application of color filters over the photodiodes used in sensors, cameras, videocameras, and scanners, for creation of the color image.

RGBW sensor

An RGBW matrix (from Red, Green, Blue, White) is a CFA that includes "white" or transparent filter elements that allow the photodiode to respond to all colors of light; that is, some of the cells are "panchromatic", and more of the light is detected, rather than absorbed, compared to the Bayer matrix. Kodak has announced several RGBW CFA patterns in 2007, all of which have the property that when the panchromatic cells are ignored the remaining color filtered cells arranged such that their data can be processed with a standard Bayer demosaicing algorithm.

CFAK matrix or sensor - name used for RGBW sensor produced by Kodak.

CYGM sensor

A CYGM matrix (Cyan, Yellow, Green, Magenta) is a CFA that uses mostly secondary colors, again to allow more of the incident light to be detected rather than absorbed. Other variants include CMY and CMYW matrices.