värisuodatinmatriisi
A color filter array, or CFA, also known as a color filter mosaic or color subsampling array, is a microscopic grid of tiny color filters placed over the pixels of an image sensor, such as a CCD or CMOS sensor. This array allows a single sensor to capture color information, which is a fundamental process in digital photography and imaging. Without a color filter array, a digital camera sensor would only be able to capture the intensity of light, resulting in a monochrome image.
The most common type of CFA is the Bayer filter array, which arranges red, green, and blue
When light strikes the image sensor, each pixel beneath a filter only records the intensity of the