We investigate an efficient color image quantization technique that is based upon an existing binary splitting algorithm. The algorithm sequentially splits the color space into polytopal regions and picks a palette color from each region. At each step, the region with the largest squared error is split along the direction of maximum color variation. The complexity of this algorithm is a function of the image size. We introduce a fast histogramming step so that the algorithm complexity will depend only on the number of distinct image colors, which is typically much smaller than the image size. To keep a full histogram at moderate memory cost, we use direct indexing to store two of the color coordinates while employing binary search to store the third coordinate. In addition, we apply a prequantization step to further reduce the number of initial image colors. In order to account for the high sensitivity of the human observer to quantization errors in smooth image regions, we introduce a spatial activity measure to weight the splitting criterion. High image quality is maintained with this technique, while the computation time is less than half of that of the original binary splitting algorithm.
[1]
William Equitz,et al.
A new vector quantization clustering algorithm
,
1989,
IEEE Trans. Acoust. Speech Signal Process..
[2]
Wayne E. Stark,et al.
Fine-coarse vector quantization
,
1991,
IEEE Trans. Signal Process..
[3]
Robert M. Gray,et al.
An Algorithm for Vector Quantizer Design
,
1980,
IEEE Trans. Commun..
[4]
Ronald S. Gentile,et al.
Quantization of color images based on uniform color spaces
,
1990
.
[5]
B. Prasada,et al.
Adaptive quantization of picture signals using spatial masking
,
1977,
Proceedings of the IEEE.
[6]
Paul S. Heckbert.
Color image quantization for frame buffer display
,
1982,
SIGGRAPH.
[7]
R.M. Gray,et al.
A greedy tree growing algorithm for the design of variable rate vector quantizers [image compression]
,
1991,
IEEE Trans. Signal Process..
[8]
P. Prusinkiewicz,et al.
Variance‐based color image quantization for frame buffer display
,
1990
.
[9]
Jan P. Allebach,et al.
New approach to palette selection for color images
,
1991,
Electronic Imaging.