COLOR QUANTIZATION BY DYNAMIC-PROGRAMMING AND PRINCIPAL ANALYSIS

被引:103
作者
WU, XL [1 ]
机构
[1] UNIV WESTERN ONTARIO,DEPT COMP SCI,LONDON N6A 5B7,ONTARIO,CANADA
来源
ACM TRANSACTIONS ON GRAPHICS | 1992年 / 11卷 / 04期
关键词
ALGORITHMS; ALGORITHM ANALYSIS; CLUSTERING; COLOR QUANTIZATION; DYNAMIC PROGRAMMING; PRINCIPAL ANALYSIS;
D O I
10.1145/146443.146475
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Color quantization is a process of choosing a set of K representative colors to approximate the N colors of an image, K much less than 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 + KM2) 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 luminance and chromaticity in color quantization with and without color dithering is investigated. Our color quantization method allows the user to choose a balance between the image smoothness and hue accuracy for a given K.
引用
收藏
页码:348 / 372
页数:25
相关论文
共 44 条
[1]  
BALASUBRAMANIAN R, 1991, J IMAGING TECHNOL, V17, P284
[2]  
Brucker P, 1977, OPTIMIZATION OPERATI, P45
[3]   OPTIMAL PRUNING WITH APPLICATIONS TO TREE-STRUCTURED SOURCE-CODING AND MODELING [J].
CHOU, PA ;
LOOKABAUGH, T ;
GRAY, RM .
IEEE TRANSACTIONS ON INFORMATION THEORY, 1989, 35 (02) :299-315
[4]  
DREZNER Z, 1984, J OPER RES SOC, V35, P741, DOI 10.2307/2581980
[5]  
Fiume E., 1989, Proceedings. Graphics Interface'89, P211
[6]  
FLOYD RW, 1975, INT S SOC INF DISPL, P36
[7]  
Foley J. D., 1990, COMPUTER GRAPHICS PR
[8]  
FREI W, 1976, P SPIE NATIONAL SEMI, V87, P197
[9]  
Friedman J. H., 1977, ACM Transactions on Mathematical Software, V3, P209, DOI 10.1145/355744.355745
[10]  
Fuchs H., 1980, Computer Graphics, V14, P124, DOI 10.1145/965105.807481