Skip to main content

Statistical Colour Quantization for Minimum Distortion

  • Conference paper
Computer Graphics and Mathematics

Part of the book series: Focus on Computer Graphics ((FOCUS COMPUTER))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A.V. Aho, J.E. Hoperoft, and J.D. Ullman. The Design and Analysis of Computer Algorithms, Addison-Wesley Co., 1974.

    Google Scholar 

  2. M.R. Ariderberg. Cluster Analysis for Applications, Academic Press, New York, 1973.

    Google Scholar 

  3. J.D. Bruce. Optimum Quantization, Sc. D. thesis, M.I.T., May 14, 1964.

    Google Scholar 

  4. 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.

    Google Scholar 

  5. 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.

    Google Scholar 

  6. 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.

    Article  Google Scholar 

  7. M. Gervautz and W. Purgathofer. A simple method for colour quantization: octree quantization, in Graphics Gems edited by A. Glassner, Academic Press, 1990.

    Google Scholar 

  8. R.M. Gray. Vector quantization, IEEE ASSP Mag., pp. 4–29, April 1984.

    Google Scholar 

  9. E. Fiume and M. Ouellette. On distributed, probabilistic algorithms for computer graphics. in Proc. Graphics/Interface’89, London, Ontario, p. 221–218, June 1989.

    Google Scholar 

  10. J. A. Hartigan. Clustering algorithms, Wiley, New York, 1975.

    MATH  Google Scholar 

  11. P. Heckbert. Colour image quantization for frame buffer display. SIGGRAPH’82 proceedings, pp. 297–307, 1982.

    Google Scholar 

  12. 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.

    Google Scholar 

  13. 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.

    MathSciNet  Google Scholar 

  14. D.L. MacAdam. Uniform colour scale. J. Opt. Soc. of Amer., vol. 64, pp. 1691-, 1974.

    Google Scholar 

  15. B.F.J. Manly. Multivariate Statistical Methods, Chapman and Hall, London, 1986.

    Google Scholar 

  16. N. Megiddo, K.J. Supowit. On the complexity of some common geometric location problems. SIAM J. Comput. vol. 13, pp. 182–196, 1984.

    Article  MathSciNet  MATH  Google Scholar 

  17. 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.

    Google Scholar 

  18. 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.

    Article  MATH  Google Scholar 

  19. 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.

    Article  MATH  Google Scholar 

  20. 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.

    Google Scholar 

  21. 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.

    Google Scholar 

  22. X. Wu. Optimal quantization by matrix-searching. Journal of Algorithms, vol. 12, pp. 663–673, Dec. 1991.

    Article  MathSciNet  MATH  Google Scholar 

  23. 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.

    Google Scholar 

  24. X. Wu. Algorithmic approaches to optimal mean-square quantization, Ph.D dissertation, Dept. of Computer Science, Univ. of Calgary, 1988.

    Google Scholar 

  25. 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.

    Google Scholar 

  26. 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.

    Google Scholar 

Download references

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics