You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

8.2 Image processing pipeline in digital cameras

3 min readjuly 18, 2024

Digital cameras transform light into stunning images through a complex process. From capturing light with sensors to converting signals into digital data, each step is crucial. , , and color correction work together to create vibrant, accurate photos.

The pipeline doesn't stop there. White balance adjusts for different lighting, while enhances details. Finally, makes images easier to store and share. Understanding this process helps photographers capture and create better images in various situations.

Digital Image Processing Pipeline

Stages of digital image processing

Top images from around the web for Stages of digital image processing
Top images from around the web for Stages of digital image processing
  • captures light through the lens using an that converts light into electrical signals
  • involves analog-to-digital conversion (ADC) to convert electrical signals into digital data and defective pixel correction to identify and correct malfunctioning pixels
  • Demosaicing reconstructs a full-color image from the incomplete color samples captured by the image sensor using processes
  • Noise reduction removes or minimizes unwanted noise in the image using techniques like , , and
  • White balance and color correction adjust the overall color balance of the image to compensate for different lighting conditions and ensure accurate color representation
  • Sharpening enhances edges and details in the image using techniques such as and
  • Compression reduces the file size of the image for storage or transmission using lossy compression (JPEG) that removes less important data or lossless compression (PNG) that preserves all data

Purpose of demosaicing

  • Most digital cameras use a single image sensor with a (CFA), typically a , allowing each pixel to capture only one color channel (red, green, or blue)
  • Demosaicing reconstructs a full-color image by estimating the missing color values for each pixel using interpolation algorithms
    • estimates missing color values based on the closest available pixel of the same color
    • estimates missing color values by averaging the surrounding pixels of the same color
    • , such as edge-directed interpolation, reduce color artifacts and improve image quality by considering the local image content

Noise reduction and sharpening

  • Noise reduction removes or minimizes unwanted noise in digital images caused by factors like high ISO settings, long exposures, or sensor limitations
    • Noise appears as random variations in brightness or color, degrading image quality
    • Spatial filtering techniques (, ) reduce noise but may soften the image
    • Advanced techniques (wavelet denoising, non-local means) better preserve edges and details while reducing noise
  • Sharpening enhances edges and fine details in an image, making it appear clearer and more defined
    • Sharpening counteracts the softening effect of demosaicing, noise reduction, or lens limitations
    • Unsharp masking subtracts a blurred version of the image from the original, emphasizing edges
    • High-pass filtering isolates and enhances high-frequency information in the image
    • Over-sharpening can introduce artifacts (halos, exaggerated noise), so a balance must be struck

White balance and color correction

  • White balance adjusts the overall color balance of the image to compensate for the of the light source
    • Different light sources have different color temperatures, causing color casts in the image
    • Proper white balance ensures neutral colors (white, gray) appear neutral in the image
    • Digital cameras offer (AWB) and for common light sources (daylight, tungsten, fluorescent)
    • allows manual setting of the white point using a reference object (gray card)
  • Color correction adjusts colors in an image to achieve a desired look or match a specific color space
    • Compensates for color casts, incorrect white balance, or other color-related issues
    • Techniques include adjusting hue, saturation, and of specific color ranges
    • (, ) define the color space and ensure consistent color representation across devices
    • Accurate color reproduction is crucial in applications like product photography, portrait photography, and scientific imaging
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary