Abstract
Colour quantization for frame buffer displays, a basic computer graphics technique for efficient use of colours, is statistically a large scale clustering process and it poses a difficult discrete optimization problem. Many heuristic color quantization algorithms were proposed [7, 12, 22, 24] but they all suffer from various degrees of non-adaptability to the colour statistics of input images. In this article we will introduce an adaptive colour image quantization algorithm that outperforms existing algorithms in subjective image quality and in least square approximation sense. The new algorithm eliminates many current suboptimal treatments of colour quantization such as a prequantization of discarding few lower bits of RGB values, restricted cuts orthogonal to RGB axes, partition criteria based on population or marginal distributions rather than variance minimization. A constrained global optimization scheme is incorporated into a divide-and-conquer clustering process to minimize quantization distortion. The time and space complexities of the new algorithm are O(N log K) and O(N), where N is the number of pixels in the image and K is the number of colours in quantized image.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A.V. Aho, J.E. Hoperoft, and J.D. Ullman. The Design and Analysis of Computer Algorithms, Addison-Wesley Co., 1974.
M.R. Ariderberg. Cluster Analysis for Applications, Academic Press, New York, 1973.
J.D. Bruce. Optimum Quantization, Sc. D. thesis, M.I.T., May 14, 1964.
P. Brucker. On the complexity of clustering problems. in Optimization and Operations Research (R. Henn, B. Korte, and W. Oettli, eds.), pp. 45–54, Springer-Verlag, 1977.
G. Campbell, T. DeFanti, J. Frederiksen, S. Joyce, L. Leske, J. Lindberg and D. Sandin. Two bit/pixel full colour encoding. in SIGGRAPH’86 proceedings, pp. 215–233, 1986.
H. Fuchs, G. Z. M. Kedem and B.F. Naylor. On visible surface generation by a priori tree structure, Computer Graphics, vol. 14, no. 3, p. 124–133, July 1980.
M. Gervautz and W. Purgathofer. A simple method for colour quantization: octree quantization, in Graphics Gems edited by A. Glassner, Academic Press, 1990.
R.M. Gray. Vector quantization, IEEE ASSP Mag., pp. 4–29, April 1984.
E. Fiume and M. Ouellette. On distributed, probabilistic algorithms for computer graphics. in Proc. Graphics/Interface’89, London, Ontario, p. 221–218, June 1989.
J. A. Hartigan. Clustering algorithms, Wiley, New York, 1975.
P. Heckbert. Colour image quantization for frame buffer display. SIGGRAPH’82 proceedings, pp. 297–307, 1982.
J.O. Limb, C.B. Rubinstein, and J.E. Thompson. Digital coding of colour video signals — a review, IEEE Trans. on Comm., vol. COM-25, no. 11, p. 1349–1385, Nov. 1977.
J.B. MacQueen. Some methods for classification and analysis of multivariate observations. Proc. 5th Berkeley Symposium on Mathematical Statistics and Probability, Vol. 1, pp. 281–297, 1967.
D.L. MacAdam. Uniform colour scale. J. Opt. Soc. of Amer., vol. 64, pp. 1691-, 1974.
B.F.J. Manly. Multivariate Statistical Methods, Chapman and Hall, London, 1986.
N. Megiddo, K.J. Supowit. On the complexity of some common geometric location problems. SIAM J. Comput. vol. 13, pp. 182–196, 1984.
G.W. Meyer and D.P. Greenberg, D. P. Perceptual colour space for computer graphics. in Colour and the Computer, edited by H. J. Durrett, Academic Press, pp. 83–100, 1987.
J.N. Morgan and J.A. Sonquist. Problems in the analysis of survey data, and a proposal. J. Amer. Statist. Assoc., vol. 58, pp. 415–434, 1963.
S.Z. Selim and M.A. Ismail. `K-means-type algorithms: a generalized convergence theorem and characterization of local optimality, IEEE Trans. PAMI., Vol. 6, No. 1, pp. 81–87, 1984.
R.J. Stevens, A.F. Lehar and R.H. Preston. `Manipulation and presentation of multidimensional image data using the Peano scan. IEEE Trans. PAMI, Vol. 5, No. 2, pp. 520-, Sept. 1983.
S. Wan, A. Wong and P. Prusinkiewicz. An algorithm for multidimensional data clustering. ACM Trans. on Math. Software, Vol. 14, No. 2, pp. 153–162, June 1988.
X. Wu. Optimal quantization by matrix-searching. Journal of Algorithms, vol. 12, pp. 663–673, Dec. 1991.
X. Wu. Efficient statistical computations for optimal colour quantization, in More Graphics Gems vol. II, edited by J. Arvo, Academic Press, pp. 126–133, 1991.
X. Wu. Algorithmic approaches to optimal mean-square quantization, Ph.D dissertation, Dept. of Computer Science, Univ. of Calgary, 1988.
X. Wu and J. Rokne. An O(KN lg N) Algorithm for Optimal K-level Quantization on Histograms of N Points. Proc. ACM 1989 Conference of Computer Science, Louisville, KY., pp. 339–343, Feb. 1989.
X. Wu and I. Witten. A fast k-means type clustering algorithm. Research Report No. 85/197/10, Dept. of Computer Science, Univ. of Calgary, 1985.
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1992 EUROGRAPHICS The European Association for Computer Graphics
About this paper
Cite this paper
Wu, X. (1992). Statistical Colour Quantization for Minimum Distortion. In: Falcidieno, B., Herman, I., Pienovi, C. (eds) Computer Graphics and Mathematics. Focus on Computer Graphics. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-77586-4_12
Download citation
DOI: https://doi.org/10.1007/978-3-642-77586-4_12
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-77588-8
Online ISBN: 978-3-642-77586-4
eBook Packages: Springer Book Archive