Color Quantization

In this post, we are going to talk about color quantization. Color quantization is a technique for reducing the number of used in an image and, as stated in Wikipedia “this is important for displaying images on devices that support a limited number of colors and for efficiently compressing certain kinds of images. This also leads to a less variance in the colors. In other terms, if we want that an image is made of just 5 colors, a color quantization technique analyzes the image pixel by pixel in order to fit those pixels in the range defined by the 5 colors and so, rearranging the image.

Read More