How Image Sensors Capture Light
Every digital camera, from a phone to a professional body, relies on an image sensor: a flat chip covered with millions of microscopic light detectors. The sensor is the digital equivalent of film. Its design determines how much detail, how little noise and how much dynamic range a camera can deliver.
Here is how a sensor turns light into the numbers that form a picture.
From photons to electrons
Light consists of particles called photons. Each sensor element, called a photosite or pixel, is built from silicon, which has a useful property: when a photon of suitable energy strikes it, it can knock an electron free. This is the photoelectric effect.
During an exposure, each photosite collects the freed electrons in a small electrical well. A brighter spot of the scene sends more photons, so more electrons accumulate. At the end of the exposure, the camera measures how many electrons each well holds. That count is the raw brightness measurement for that pixel.
Full well capacity and noise
A photosite can only hold a limited number of electrons, known as its full well capacity. Once a well fills up, additional light cannot be recorded, and that area appears pure white. This creates the upper limit of the sensor's tonal range.
At the other end, random fluctuations create noise. Some noise comes from the nature of light itself, since photons arrive randomly, and some comes from the electronics. In dim scenes, there are few photons, so the noise is a larger share of the signal. The ratio between the brightest tone the sensor can hold and the darkest it can tell apart from noise is the dynamic range.
CCD and CMOS
Two sensor technologies have dominated. Both use the same basic light detection, but they differ in how they read out the charge.
CCD
In a charge-coupled device, the electrons from each photosite are shifted along the chip, row by row, to a single output where they are converted into a voltage. The process is orderly and produces uniform results, but it uses more power and is slower and more expensive to produce.
CMOS
In a CMOS sensor, each photosite has its own small amplifier, and the signals are read out through a grid of wires. This allows faster readout, lower power use and the integration of other circuits on the same chip, such as converters and processors. Today, CMOS dominates nearly all consumer cameras and phones.
Adding color
Photosites measure only light intensity, not color. To record color, a color filter array sits on top of the sensor. The most common arrangement is the Bayer pattern, where red, green and blue filters are laid out in a repeating grid with twice as many green filters as red or blue. Green is favored because the human eye is most sensitive to it.
Each pixel therefore records just one color. Software later estimates the missing two colors for every pixel from its neighbors, a step known as demosaicing.
Tiny lenses called microlenses sit above each photosite to focus incoming light into the sensitive area and reduce wasted light.
Sensor size matters
Sensor size has a larger effect on image quality than the number of pixels. A larger sensor has more surface area to collect light. For the same scene and exposure, it gathers more photons in total, which generally means less visible noise and better dynamic range.
Larger sensors also produce a shallower depth of field at equivalent framing, which gives the soft background blur that photographers like. This is why dedicated cameras with larger sensors tend to outperform phone cameras in low light, even though phones compensate with computational methods.
Pixel count versus pixel size
Packing more pixels on a fixed sensor size makes each pixel smaller. Smaller pixels collect fewer photons each, which can raise noise per pixel, though the picture contains more detail when there is enough light and a good lens. Many high resolution phone sensors combine neighboring pixels into one larger effective pixel in dim light, a technique called pixel binning.
More megapixels do not automatically mean a better photo. Lens quality, motion blur, focus and lighting often matter more.
Shutters
A sensor needs a way to control exposure time. A mechanical shutter physically covers and uncovers the sensor. An electronic shutter simply starts and stops collecting charge.
Many CMOS sensors use a rolling shutter, reading rows one after another. With fast movement, this can make vertical lines look slanted or wobbly. A global shutter exposes every pixel at the same moment and avoids this distortion, though it is more complex to build.
From analog to digital
After exposure, an analog-to-digital converter turns each measured voltage into a number. The bit depth of this conversion sets how many tonal steps can be recorded. A higher bit depth, such as 12 or 14 bits, captures finer gradations than 8 bits, which is why raw files give more editing room.
Raising the ISO setting amplifies the signal before conversion. This brightens the image but also amplifies noise, so it is best kept as low as the lighting allows.
Frequently Asked Questions
Does a higher megapixel count always mean better quality?
No. More pixels give more potential detail, but they also make each pixel smaller, which can add noise in poor light. Lens quality, sensor size and processing play a large part too.
What is the difference between CCD and CMOS?
Both convert light to electrical charge. A CCD shifts charge across the chip to one output, while a CMOS sensor reads each pixel with its own amplifier. CMOS is faster and more efficient, and it is now the standard choice.
Why do photos get noisy in low light?
Fewer photons reach the sensor, so the random variations in the signal become more noticeable, and raising ISO amplifies them further. Using a larger sensor, a wider aperture or a longer exposure helps.