摘要
为实现图像颜色的快速配准,使得配准后的颜色误差分配更均匀,通过实验分析了各颜色空间对彩色图像配准速度及抖动效果的影响,选定RGB为颜色空间;提出建立目标色等距表库算法,快速进行源色与目标色映射。基于Floyd-Steinberg算法思想,提出一种以距离倒数作为基准的算法,针对奇数和偶数行,将R、G、B误差分配到不同四点。基于两种算法的使用,大幅度减少了距离比较次数与浮点数运算次数,颜色配准速度提高了约15倍,同时使误差分配更加均匀,减少了色彩丢失,提高了图像质量。通过将提出的算法应用于256色触摸屏图像显示中,证明画面显示流畅,响应速度提高了一个数量级以上。
To achieve fast color registration,and make the color error distribution after registration more uniform,the influence of color space on the registration speed and jitter effect of color image is analyzed through experiments.RGB is selected as color space.The al-gorithm of establishing the target color equidistant table library is proposed to map the source color and target color quickly.Based on the idea of Floyd-Steinberg algorithm,a new algorithm based on the reciprocal of distance is proposed.For odd and even rows,R,G and B errors are allocated to different four points.Based on the use of the two algorithms,the number of distance comparison and floating-point operation is greatly reduced,the speed of color registration is increased by about 15 times,the error distribution is more uniform,the loss of color is reduced,and the image quality is improved.By applying the proposed algorithm to the image display of 256 colors tou-ch screen,it is proved that the image display is smooth and the response speed is improved by more than one order of magnitude.
作者
严惠
邓小龙
孔德文
YAN Hui;DENG Xiaolong;KONG Dewen(Integrated Circuit Manufacturing Equipment Engineering Technology Research and Development Center,Jiangsu College of Information Technology,Wuxi Jiangsu 214153,China)
出处
《电子器件》
CAS
2024年第1期140-144,共5页
Chinese Journal of Electron Devices
基金
国家自然科学基金项目(61174066)
2019年江苏省科技创新团队资助项目。
关键词
图像抖动
颜色模型
三维等距表库
颜色配准
误差扩散
image dither
color model
3D isometric table library
color registration
error diffusion