To reconstruct a full color image from the data collected by the color filtering array, a form of interpolation is needed to fill in the blanks.
In this example, we use Adobe Photoshop's bicubic interpolation to simulate the circuitry of a Bayer filter device such as a digital camera.