demosaicization
Demosaicization, also known as demosaicing or debayering, is a process in digital imaging used to reconstruct a full-color image from the data captured by an image sensor that has a color filter array (CFA). Most digital cameras, particularly single-chip CMOS and CCD sensors, use a Bayer filter or a similar pattern. This filter arrangement places a single color filter (red, green, or blue) over each individual pixel. Therefore, each pixel only records the intensity of one color, not the full RGB spectrum. Demosaicing is the computational step that interpolates the missing color information for each pixel, creating a full-color image.
The Bayer filter is the most common type of CFA, typically arranged in a 2x2 pattern with
Various algorithms exist for demosaicing, ranging in complexity and effectiveness. Simple algorithms might use linear interpolation,