Skip to content

Image or color quantization is a technique where the number of colors is reduced.

Notifications You must be signed in to change notification settings

alaa-amr/Image-Quantization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image-Quanrization

Quantization is a lossy (some of the information is lost) compression technique achieved by compressing a range of values to a single quantum value. Image or color quantization is a technique where the number of colors is reduced; this is important for displaying images on devices that support a limited number of colors and for efficiently compressing certain kinds of images. Most editors and many operating systems have built-in support for color quantization. The reduced representative colors are called color palette. The quantization process should be optimized as possible so that not much information is lost and the new quantized image should differ as little as possible from the original image.

Importance:

  1. Image compression: by reducing the number of bits per pixels without affecting the image view. It’s used as a step in the compression pipeline of most common formats like JPEG and MPEG.
  2. Image Filtering: for noise smoothing and for deconvolving images that have been blurred.
  3. Target different devices: color quantization is critical for displaying images with many colors on devices that can only display a limited number of colors

Sample Output:

image

Releases

No releases published

Packages

No packages published

Languages