Measure
A filter lets each sensor site record one color component.
INSIDE THE CAMERA
The other two color components must be reconstructed.
A conceptual visualization. Explore the actual reconstruction below.
Go to the experimentLinear-light values from an idealized grayscale checkerboard. Tile colors show filter types.
HOVER OR TAP A SITE USE ARROW KEYS TO EXPLORE
FIRST, LOOK CLOSER
So why does our virtual camera see green and magenta?
Change the pattern size or shift the sensor to see the colors change.
iThe sensor recorded one color value at each location. The missing values were estimated using nearby samples. For fine patterns, those estimates can introduce colors that were not in the scene.
TAKE CONTROL
The sensor has captured its measurements. Now you decide how to reconstruct the missing colors.
Zero false color means the result remains gray. Error and detail are measured against the unfiltered original; no single metric tells the whole story.
THE CHALLENGE
The original pattern is black and white. Your reconstruction added color. Can you remove the false colors without losing important detail?
FALSE COLOR 100.00 · ERROR 0.5000 · DETAIL 0.00×
Some high-frequency detail must be suppressed before sampling to avoid misleading measurements. This Gaussian blur is an approximation, not a complete optical model.
LOOK CLOSER
Upload a photograph and explore how a simulated Bayer sensor could reconstruct its colors.
This experiment simulates Bayer capture from an existing image. It does not recover your camera's original sensor data. Images stay on your device.
A LITTLE SENSOR SCIENCE
Every photograph begins with an incomplete picture. A remarkably clever process fills in the rest.
A filter lets each sensor site record one color component.
Neighboring samples provide clues about what is missing.
The processor combines measured and estimated values into a full-color image.
The next time you take a photograph, remember: part of its color was calculated.
Experiment again