摘要
从彩色图象输入设备获得彩色图象,其红、绿、蓝3个分量均为1个字节,所以可表示2563种颜色。对一幅彩色图象的3个分量在其颜色值的范围内进行均匀量化,输出值均取6个等级,从而把一幅彩色图象转换成216种颜色。用这216种颜色修改彩色表,然后将量化后的图象数据写入显示缓冲区,从而实现对一幅彩色图象的显示。
When we get a color image from the input equipment,every component of R, G and B of the image pixels is presented by one byte. Therefore,there are 256 3 colors at most in a color image. Now we carry out an uniform quantization to each component in the range of its color values through a uniform quantizer, whose output can be taken as many as 6 values. By doing so, we can transform a color image of 256 3 colors to that of 216 colors. Updating the DAC register with the 216 colors and writing the quantized image data into display buffer area, we can display a color image at CRT displayer with TGVA card quickly.
出处
《大庆石油学院学报》
CAS
北大核心
1997年第4期57-59,共3页
Journal of Daqing Petroleum Institute
基金
大庆石油学院自然科学研究基金
关键词
颜色选择
量化
算法
图象处理
TVGA卡
color selecting, quantization, compressed pixel, DAC registers, color table