摘要
经过扫描仪输入的图像,所包含的颜色很多,真彩色图像有成千上万种颜色,八位图像也有256种颜色,而实际的纹织图像花样设计中所涉及到的颜色数目屈指可数。因此,在进行进一步处理前,需要对图像进行颜色量化,将扫描图像中的颜色归并为少数几种颜色。利用改进了的“变球法”颜色量化算法进行颜色量化,满足了在纹织CAD设计中,设计人员因为工艺或者设计的需要,保留原图片上几种特定颜色的要求。仿真结果表明运用该算法的颜色量化效果好,误差小,基本接近原图。
Image inputted by scanner contains many colors, The real colorful image contains thousands upon thousands colors, eight bit image also contains 256 colors, but the actual jacquard image contains a few colors. Therefore we need take color quantization to abstract the colors of image inputted by scanners before a futher disposal. In design of jacquard CAD, the designer must keep some special colors for the need of technics and design. So the impreved "change ball" algorithm for color quantization is proposed. The simulation result shows that the color quantisation using this algorithm has a good performance, small error and is nearly same as the primary image.
出处
《毛纺科技》
CAS
北大核心
2006年第4期46-49,共4页
Wool Textile Journal
关键词
颜色量化
八叉树算法
“变球法”
扩展“变球法”
color quantization
octree quantization
"change ball"
the improved "change ball"