The idea of color quantization is to reduce the number of colors in a full resolution digital color image (24 bits per pixel) to a smaller set of representative colors called color palette. Reduction should be performed so that the quantized image differs as little as possible from the original image. Algorithmic optimization task is to find such a color palette that the overall distortion is minimized
- Priority queue
- Fibonacci heap
- Kruksal algorithm for finding the minimum spanning tree
- Prim's algorithm for finding the minimum spanning tree
- Single linkage clustering
- Automatic detection of the number of clusters