Advanced | Help | Encyclopedia
Directory


Bayer filter

(Redirected from Bayer pattern)
The Bayer filter mosaic. Each block of four contains 2 green, 1 blue and 1 red pixel.

A Bayer filter is a color filtering array for arranging RGB colors on a monochromatic grid. The term most often refers to a common mosaic of color filters used on many single chip digital cameras. Each sensor pixel is covered by red, green and blue coloured filters. The Bayer filter has twice as many green pixels as red or blue because of the human eye's greater resolving power with green light.

In the raw output of Bayer filter cameras is referred to as a Bayer Pattern image. Two thirds of the color data is missing from each pixel. A demosaicing algorithm is used to interpolate the complete red, green, and blue values for each point. Many different algorithms exist.


An illustrated explanation of color image reconstruction

To reconstruct a color image from the data collected by the color filtering array, you need to fill up the blanks. The mathematics here is subject to individual implementation. In this example, we use Adobe Photoshop's bicubic interpolation to simulate the circutry of a Bayer filter device such as a digital camera. In a typical commercial implementation, low pass anti-alias filters will be added that make the artifacts shown here less pronounced, with a corresponding reduction of sharpness.


This is the original image, made with Adobe Illustrator. If a perfect digital camera with perfect optical lens that can measure every pixel's exact Red, Green, and Blue components, the resulted image will probably look like this.


This is a simulated sampling taken by a Bayer filtered sensor array. Each pixel only has a value of either R or G or B.

Frame enlargement
Red Green Blue


A digital camera has certain circuits to reconstruct the whole image using above information. The resulting image could be something like this:


Frame enlargement of the original. Frame enlargement of the reconstructed image.

As you can see, the reconstructed image looks good in low contrast areas. However, the edges of letters have visible colored artefacts, and a rough appearance.

See also

External links









Links: Addme | Keyword Research | Paid Inclusion | Femail | Software | Completive Intelligence

Add URL | About Slider | FREE Slider Toolbar - Simply Amazing
Copyright © 2000-2008 Slider.com. All rights reserved.
Content is distributed under the GNU Free Documentation License.