摘要
针对已有图像灰度化方法不能同时体现原始图像的全局和局部对比度,且不能保持灰度像素的灰度值等问题,提出一种基于主色检测与灰度传播的彩色图像灰度化方法.首先提出一种基于直方图峰值的主色检测方法,用于提取输入图像中具有代表性的少量主要颜色特征;然后采用基于梯度域的主色灰度化方法将图像主色映射到灰度空间,最大程度地在灰度空间保持主色在彩色空间的视觉对比度;再利用基于局部线性嵌入的灰度传播方法,将主色灰度值和原有灰度像素的灰度值扩散到与其颜色相似的像素上;最后检查图像中是否存在没有被灰度化的彩色像素,如果存在,则使用基于梯度域的局部灰度化方法将其灰度化,得到最终的灰度图像.大量实验结果表明,该方法将全局和局部对比度保持有机结合,得到的灰度图像较好地保持了彩色图像中色彩之间的差异性,并且保持了灰度像素的灰度值.
As state-of-the-art color2gray methods can not guarantee the simultaneous preservation of global and local contrast, as well as the values of grayscale pixels, a color2gray method based on dominant color detection and grayscale propagation is put forward in this paper. Firstly, this paper proposes a histogram peaks based dominant color detection method to extract a small representative colors set for the input image. Secondly, these dominant colors are mapped to grayscale space with gradient domain based color2gray method, which can preserve the contrast in color space as much as possible. Then, grayscale values of dominant colors and grayscale pixel are propagated into nearby colors through local linear embedding model. Finally, this method detects if there are pixels which haven’t been decolorized and transform them to grayscale ones. Numerous experimental results show that this method simultaneously preserves the global and local contrast as well as the grayscale pixels and thus the diverse scene as shown in the input color image.
出处
《计算机辅助设计与图形学学报》
EI
CSCD
北大核心
2016年第3期433-442,共10页
Journal of Computer-Aided Design & Computer Graphics
基金
浙江省自然科学基金(LY14F020004)
国家自然科学基金(61003188
61379075)
浙江省重点科技创新团队项目(2012R10041-15)
浙江工商大学青年人才基金项目(QZ13-9)
北京航空航天大学虚拟现实技术与系统国家重点实验室开放基金课题(BUAA-VR-13KF-2013-3)
浙江省电子商务与物流信息技术重点实验室开放基金课题(2011E10005)
关键词
彩色图像灰度化
主色检测
灰度传播
对比度保持
局部线性嵌入
color2gray
dominant color detection
grayscale propagation
contrast preservation
local linear embedding