The image sensor converts light into digital images and consists of millions of pixels that initially only detect brightness. Color is created through a color filter (Bayer matrix) and interpolation. There are three sensor types: CCD, CMOS, and X3 sensor. Pixel size affects image quality more than the megapixel count. A large CMOS sensor usually delivers better results than a smaller one with higher resolution.
Category: Photography Basics > 2. Camera Technology & Structure Article ID: 2.3 Created: May 2026
Key Points in Brief
- The image sensor is the "heart" of the digital camera: it converts light into electrical signals and thus into a digital image
- A sensor consists of millions of tiny light sensors—one per pixel
- Most sensors can naturally only detect brightness; color is created by an applied color filter (Bayer matrix)
Explanation
Basic Structure: Pixel by Pixel
An image sensor consists of a rectangular grid of tiny, light-sensitive areas—called pixels (picture elements). Each pixel registers how much light hits it and converts this information into a brightness value. A sensor with 4000 × 3000 pixels thus produces photos with a maximum of 12 megapixels (MP).
Important: The stated megapixel count is the theoretical maximum. Depending on the chosen image format (e.g., 4:3 instead of 3:2) or resolution setting, the actual number of pixels used may be lower.
How Is a Color Image Created?
Individual pixels can initially only perceive brightness levels between black and white—no colors. To produce a color image, a color filter mosaic, called the Bayer matrix, is placed over the sensor:
- The grid consists of red, green, and blue filter points
- Each pixel only lets through its own color
- The missing color values of neighboring pixels are supplemented by interpolation (computational estimation)
- Additionally, a tiny microlens on each pixel enhances light capture
Consequence: A large portion of incoming light is blocked by the color filters and not used. This reduces the sensor's light sensitivity—especially relevant for black-and-white photography (→ article 1.7).
The Three Sensor Types
CCD Sensor (Charge-Coupled Device)
- Pixels are read out line by line (similar to a scanner)
- Formerly the standard technology, now mainly found in compact cameras
- Good image quality but higher energy consumption and heat generation
CMOS Sensor (Complementary Metal-Oxide-Semiconductor)
- Each pixel can be read directly and independently → faster processing
- Cheaper to manufacture, less heat, less prone to interference
- Now standard in all camera classes, from smartphones to full-frame cameras
- Modern CMOS sensors are equal or superior to CCD sensors in image quality
X3 Sensor (Foveon)
- No color filter mosaic, but three stacked layers in the sensor chip
- Each layer responds to one color (similar to analog color film)
- No need for interpolation → theoretically sharper colors and higher resolution
- Rare: used by only one manufacturer, no full-frame or medium format available
Megapixels: More Isn't Always Better
A high pixel count does not automatically mean better image quality. The pixel size is crucial: the larger an individual pixel, the more light it can collect and the better its performance in low light (lower image noise). Cameras with large sensors and fewer pixels can therefore perform better in poor lighting conditions than cameras with small sensors and many pixels.
Practical Tip
When choosing a camera, it’s worthwhile to look not only at the megapixel count but also at the sensor type and sensor size. A large CMOS sensor with 20 MP typically delivers better results in most situations than a small sensor with 24 MP—especially for indoor shots or twilight lighting.