Jump to content

Quantization (image processing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Habbit (talk | contribs) at 14:14, 22 October 2004 (Started article). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Quantization, involved in image processing, is the process seeking to reduce the number of colors required to represent an image. Although more frequent in the past, currently color quantization is only used in 8-bit (256 color) images, as GIF images and some PNG images.

A standard quantization algorithm works in 2 steps:

  1. Analyze the image to select the new color palette. Usually, this involves checking each pixel to choose the most frequent colors.
  2. Dither the image to the new color palette.