Advertisement

Statistical Colour Quantization for Minimum Distortion

  • Xiaolin Wu
Conference paper
Part of the Focus on Computer Graphics book series (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.

Keywords

Colour Space Quantization Error Quantization Algorithm Subjective Image Quality Minimum Distortion 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [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. [2]
    M.R. Ariderberg. Cluster Analysis for Applications, Academic Press, New York, 1973.Google Scholar
  3. [3]
    J.D. Bruce. Optimum Quantization, Sc. D. thesis, M.I.T., May 14, 1964.Google Scholar
  4. [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. [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. [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.CrossRefGoogle Scholar
  7. [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. [8]
    R.M. Gray. Vector quantization, IEEE ASSP Mag., pp. 4–29, April 1984.Google Scholar
  9. [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. [11]
    J. A. Hartigan. Clustering algorithms, Wiley, New York, 1975.MATHGoogle Scholar
  11. [12]
    P. Heckbert. Colour image quantization for frame buffer display. SIGGRAPH’82 proceedings, pp. 297–307, 1982.Google Scholar
  12. [13]
    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. [14]
    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.MathSciNetGoogle Scholar
  14. [15]
    D.L. MacAdam. Uniform colour scale. J. Opt. Soc. of Amer., vol. 64, pp. 1691-, 1974.Google Scholar
  15. [16]
    B.F.J. Manly. Multivariate Statistical Methods, Chapman and Hall, London, 1986.Google Scholar
  16. [17]
    N. Megiddo, K.J. Supowit. On the complexity of some common geometric location problems. SIAM J. Comput. vol. 13, pp. 182–196, 1984.MathSciNetMATHCrossRefGoogle Scholar
  17. [18]
    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. [19]
    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.MATHCrossRefGoogle Scholar
  19. [20]
    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.MATHCrossRefGoogle Scholar
  20. [21]
    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. [22]
    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. [23]
    X. Wu. Optimal quantization by matrix-searching. Journal of Algorithms, vol. 12, pp. 663–673, Dec. 1991.MathSciNetMATHCrossRefGoogle Scholar
  23. [24]
    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. [25]
    X. Wu. Algorithmic approaches to optimal mean-square quantization, Ph.D dissertation, Dept. of Computer Science, Univ. of Calgary, 1988.Google Scholar
  25. [26]
    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. [27]
    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

Copyright information

© EUROGRAPHICS The European Association for Computer Graphics 1992

Authors and Affiliations

  • Xiaolin Wu

There are no affiliations available

Personalised recommendations