The matrix allows light of primary colours, red, green and blue, to enter the sensor.
A typical matrix arrangement consists of a 25% red pass through area, 25% blue, and 50% green.
Monochrome astrophotography has gained its popularity as a method of combating the effects of modern light-pollution.
[5] Removing the Bayer matrix means a narrowband filter can be used to only allow specific wavelengths of light to reach the sensor.
[6] Colour images in typical cameras are made by combining data from red, green and blue pixels.
Calibration frames are used capture artefacts and dust on the image sensor and filter, and light gradients due to internal reflections in the optical train.
This means three sets of calibration frames must be generated and applied during the image processing stage.