Experts has a new look! Let us know what you think of the updates.

Provide feedback
Home
Scholarly Works
Color quantization by dynamic programming and...
Journal article

Color quantization by dynamic programming and principal analysis

Abstract

Color quantization is a process of choosing a set of K representative colors to approximate the N colors of an image, K < N , such that the resulting K -color image looks as much like the original N -color image as possible. This is an optimization problem known to be NP-complete in K . However, this paper shows that by ordering the N colors along their principal axis and partitioning the color space with respect to this ordering, the resulting constrained optimization problem can be solved in O ( N + KM 2 ) time by dynamic programming (where M is the intensity resolution of the device). Traditional color quantization algorithms recursively bipartition the color space. By using the above dynamic-programming algorithm, we can construct a globally optimal K -partition, K >2, of a color space in the principal direction of the input data. This new partitioning strategy leads to smaller quantization error and hence better image quality. Other algorithmic issues in color quantization such as efficient statistical computations and nearest-neighbor searching are also studied. The interplay between …

Authors

Wu X

Journal

ACM Transactions on Graphics, Vol. 11, No. 4, pp. 348–372

Publisher

Association for Computing Machinery (ACM)

Publication Date

October 1992

DOI

10.1145/146443.146475

ISSN

0730-0301