Lably
Skip to content

Demosaicing

Color reconstruction algorithm

  • 5 min read
  • 5 chapters

Related on Lably

Through Digital image processing, Image and Image resolution

Most modern digital cameras acquire images using a single image sensor overlaid with a CFA, so demosaicing is part of the processing pipeline required to render these images into a viewable format.

Many modern digital cameras can save images in a raw format allowing the user to demosaic them using software, rather than using the camera's built-in firmware.

Goal

The aim of a demosaicing algorithm is to reconstruct a full color image (i.e. a full set of color triples) from the spatially undersampled color channels output from the CFA. The algorithm should have the following traits:

  • Avoidance of the introduction of false color artifacts, such as chromatic aliases, zippering (abrupt unnatural changes of intensity over a number of neighboring pixels) and purple fringing
  • Maximum preservation of the image resolution
  • Low computational complexity for fast processing or efficient in-camera hardware implementation
  • Amenability to analysis for accurate noise reduction

Sign in to keep reading

4 more chapters are free with a Lably account.

More in From Lably lessons