Every photo you take passes through a piece of engineering most people never think about. Behind the lens of your phone sits a tiny slab of silicon — the image sensor — that turns light into numbers. It is the eye of your camera, and understanding it explains why some phones take great night shots while others struggle, and why a bigger megapixel number is rarely the answer.

From Light to Photo: What a Sensor Actually Does

A sensor is a grid of millions of tiny light-sensitive spots called pixels (or photosites). When you press the shutter, light hits each spot and knocks electrons loose — a phenomenon called the photoelectric effect. The more light a spot receives, the more electrons it collects. The camera then measures that charge, and the result becomes the brightness value of one dot in your photo.

There is one catch: silicon is colorblind. A pixel only counts how much light arrived, not what color it was. Everything else a sensor does is built on solving this one limitation.

The First Digital Eye: The CCD

The story starts on 17 October 1969 at Bell Labs in New Jersey. Physicists Willard Boyle and George E. Smith sketched out a new semiconductor device in a single brainstorming session: the charge-coupled device, or CCD. For this work they shared half of the 2009 Nobel Prize in Physics.

A CCD works like a bucket brigade. Light fills each pixel's "bucket" with electrons, then — after the exposure ends — the charges are passed from pixel to pixel across the chip, row by row, until they all reach one measuring amplifier at the edge. This single amplifier reads every pixel in turn, which keeps image quality very consistent but makes the process slow and power-hungry. For decades this was the standard: early digital cameras and camcorders through the 1990s and early 2000s were almost all CCD.

CCD vs CMOS: Why the Underdog Won

The CMOS sensor takes a completely different approach. Instead of shipping every pixel's charge across the chip, each pixel gets its own tiny amplifier, so signals can be read out directly and in parallel — much faster, and at far lower power. The concept existed since the 1960s, but CMOS only became practical for cameras in the 1990s, once chip-making technology caught up.

CCD CMOS
Read-out Charge shifted across the chip to one amplifier (bucket brigade) Each pixel amplified and read directly
Speed Slow — pixels read one row at a time Fast — supports high frame rates and video
Power consumption High Low
Early image quality Excellent — the original gold standard Initially lagged, then caught up and passed CCD
Cost Expensive to manufacture Cheaper — made on standard chip production lines

The crossover happened first in phones. In 2004, driven by the camera-phone boom, CMOS shipments overtook CCD for the first time, with CMOS holding nearly 80% of image-sensor units shipped. Professional cameras followed: Canon pioneered full-frame CMOS with the 1Ds in 2002, and by 2007 — with cameras like the Nikon D3 and Sony a700 — CMOS had become the dominant technology in photography too. Today, virtually every phone and camera on sale uses CMOS.

How Sensors See Color: The Bayer Filter

To fix the colorblindness problem, nearly every camera uses a trick invented by Bryce Bayer, a scientist at Eastman Kodak. His patent for the color imaging array — U.S. Patent 3,971,065 — was filed in 1975 and granted on 20 July 1976.

The idea is disarmingly simple. A microscopic mosaic of red, green, and blue color filters is laid directly over the sensor grid, one tiny filter per pixel. Each pixel then records only its color channel: a pixel under a red filter reports "how much red arrived here," and so on. The pattern is a repeating 2×2 block:

  • 50% green filters
  • 25% red filters
  • 25% blue filters

Why twice as much green? Because human vision gets most of its sharpness and brightness information from green light, so the design favors the channel our eyes care about most. The camera's processor then demosaics the mosaic — it estimates the missing colors at each pixel by looking at neighbors — and combines the three channels into the full-color photo you see. Modern phones still use the same layout, often in grouped 4×4 blocks marketed as "Quad Bayer" or "TetraPixel," which lets the phone merge neighboring pixels for better low light.

Megapixels Are Not Everything: The Pixel-Size Trade-Off

Here is the most misunderstood number in phone marketing. A megapixel simply means one million pixels — it measures resolution, the size of the image, not its quality.

Think of each pixel as a bucket catching rain (photons). If you cram twice as many pixels onto the same tiny sensor, each bucket gets half the size and catches half the light. Smaller buckets mean weaker signals, more noise (the grainy speckles in night photos), and worse low-light performance.

That is why a camera with bigger pixels on a physically larger sensor can take cleaner photos than a camera with a higher megapixel count but smaller pixels. The rule is simple:

  • More megapixels → bigger image, more detail for cropping and printing
  • Bigger pixels (larger sensor) → more light per pixel, cleaner low-light shots

A high-megapixel phone is not automatically better; what matters is how much light each individual pixel can gather.

Back-Illuminated and Stacked Sensors

In a traditional front-illuminated sensor, light has to travel through the metal wiring layered on top of the pixels before reaching the light-sensitive silicon — like trying to look through a set of window blinds. Some light is blocked or scattered.

Back-illuminated (BSI) sensors flip the design: the wiring is moved behind the pixel layer, so light strikes the sensitive surface directly with nothing in the way. OmniVision sampled the first BSI CMOS sensors in 2007 and brought the design to commercial products with its OmniBSI architecture in 2008. Sony then took BSI mainstream with its Exmor R sensors, launched in 2009, which the company reported delivered roughly twice the low-light performance of front-illuminated designs.

Sony went further in January 2012 with the stacked CMOS sensor, commercialized as Exmor RS. The pixel layer sits directly on top of the signal-processing circuitry as a separate chip layer, which saves space and allows smarter processing on the sensor itself. Stacked sensors are the reason modern phones can do 4K video, fast burst shooting, and HDR processing without melting down.

Who Makes the Sensors in Your Phone

The image-sensor market is dominated by a handful of companies:

  • Sony Semiconductor Solutions — the clear leader, accounting for roughly half of global CMOS image sensor revenue in 2025, according to market analyst Yole Group. Sony's stacked sensors power flagship phones from Apple and Samsung.
  • Samsung — second place, making sensors for its own Galaxy phones and selling them to other brands under the ISOCELL name, including sensors with up to 200 megapixels.
  • OmniVision — the specialist that pioneered back-illuminated CMOS for consumer devices; now the world's second- or third-largest supplier depending on the quarter.

Chips are ultimately made of silicon — the same material behind every processor, as explained in our semiconductors guide — and when the sensor finishes its work, the finished photo lands on your phone's screen, which is itself a remarkable piece of engineering (see how OLED displays work).

Takeaway Checklist

  • A sensor turns light into electrical charge — photons knock electrons loose in each pixel, and the charge is measured as brightness.
  • Sensors are naturally colorblind — the Bayer filter (Bryce Bayer, Kodak, 1976 patent) adds the red-green-blue mosaic that makes color photos possible.
  • CCD came first (1969, Boyle and Smith) — but CMOS won on speed, power, and cost; it overtook CCD in shipments in 2004.
  • Megapixels measure resolution, not quality — bigger pixels on a bigger sensor capture more light and produce cleaner photos.
  • BSI and stacked designs moved the wiring out of the light's path and layered processing circuitry underneath, making modern night photography possible.
  • Sony makes roughly half of all image sensors; Samsung and OmniVision are the other major players.

Next time a phone advertises a 200-megapixel camera, ask the follow-up question: how big is each pixel, and how big is the sensor? That — not the megapixel count — tells you how well it sees in the dark.

These same sensors are the eyes of autonomous vehicles — see how self-driving cars work for the full picture.

Hamza

Founder & Editor, TechToday

Hamza is the founder and editor of TechToday. Hamza writes about artificial intelligence, computing, security and the technology shaping everyday life, with a focus on explaining complex ideas in plain, honest language — clear answers for curious readers, without the hype.