局部自适应的灰度图像彩色化
Novelimage colorization of a local adaptive weighted average filter
- 2019年24卷第8期 页码:1249-1257
收稿:2018-11-02,
修回:2019-2-20,
纸质出版:2019-08-16
DOI: 10.11834/jig.180608
移动端阅览

浏览全部资源
扫码关注微信
收稿:2018-11-02,
修回:2019-2-20,
纸质出版:2019-08-16
移动端阅览
目的
2
现有的灰度图像彩色化方法为了保证彩色化结果在颜色空间上的一致性,往往采用全局优化的算法,使得图像边界区域易产生过渡平滑现象。为此提出一种局部自适应的灰度图像彩色化方法,在迁移过程中考虑局部邻域像素信息,同时自动调节邻域像素权重,在颜色正确迁移的同时保证清晰的边界信息。
方法
2
首先结合SVM(support vector machine)和ISLIC(improved simple linear iterative clustering)算法获取彩色图像和灰度图像分类结果图;然后在分类基础上,确定灰度图像高置信度像素点,并根据图像纹理特征,在彩色图像中寻找灰度图像的像素匹配点;最后利用自适应权重均值滤波实现高置信度匹配像素点的颜色迁移,并利用迁移结果对低置信度像素点进行颜色扩散,以完成灰度图像彩色化。
结果
2
实验结果显示,本文方法获得的彩色化迁移结果评分均高于3.5分,特别是局部放大区域评价结果均接近或高于4.0分,高于其他现有彩色化方法评价分数。表明本文方法不仅能够保证颜色迁移的准确性和颜色空间的一致性,同时也能获取颜色区分度高的边界细节信息。与现有的典型灰度图像彩色化方法相比,彩色化结果图在颜色迁移的正确性和抑制边界区域颜色的过渡平滑上都有更优的表现。
结论
2
本文算法为灰度图像彩色化过程中抑制颜色越界问题提供了新的指导方法,能有效地应用于遥感、黑白图像/视频处理、医学图像着色等领域。
Objective
2
Image colorization is the process of assigning color information to grayscale images and retains grayscale image texture information. The aim of colorization is to increase the visual appeal of an image. This technology is widely used in many areas
such as medical image illustrations
remote sensing images
and old black-and-white photos. Colorization methods have to main categories
namely
user-assisted and automatic colorization methods. User-assisted colorization methods require users to manually define a layer mask or mark color scribbles on a grayscale image. This method is time-consuming and cannot provide sufficient and desirable color scribbles. Automatic colorization methods can reduce user effort and transfer color from a sample color image. The color image is called the reference/source image
and the grayscale image to be colorized is called the target image. The primary difficulty of these automatic colorization methods is to accurately transfer colors and satisfy spatial consistency. Most of these approaches achieve spatial coherency by using weighted filter or global optimization algorithms during colorizing. However
these methods may result in oversmoothed colorization or blur color in edge regions.
Method
2
We use a grayscale image colorization approach based on a local adaptive weighted average filter. This proposed method considers local neighborhood pixel information and automatically adjusts the domain pixel weights to ensure correct color migration and clear boundary results. A reference image with similar contents as the target image is provided to achieve color transfer. The method includes the following steps:First
the class probability distribution and classification are obtained. Support vector machine (SVM) is adopted to calculate class probability based on feature descriptors
mean luminance
entropy
variance
and local binary pattern (LBP) and Gabor features. The probability results and classification are post-processed to enhance the spatial coherency combined with superpixels that are extracted based on improved simple linear iterative clustering (ISLIC). Second
the color candidate in the reference image is determined based on matching low-level features in the corresponding class. Thereafter
each pixel with high-confidence class probability is assigned a color from the candidate pixel by using an adaptive weight filter. The adaptive weight
which is defined by the class probability of small neighborhood pixels around the corresponding pixel
can improve local spatial consistency and avoid confusion colorization in the boundary region. Finally
the optimization-based colorization algorithm is used on the remaining unassigned pixels with low-confidence class probability.
Result
2
This paper analyzes single pixel-based
weighted average
and adaptive weighted average methods. Results demonstrate that the adaptive weighted average method is better than the other strategies. The colorized images illustrate that our method takes advantage of the other strategies and that it not only has high spatial consistence but also ensures the boundary detail information with high color discrimination. Compared with previous colorization methods
our method works well in colorization. Colorized images achieved by Gupta's method and Irony's method have obvious erroneous colors due to inaccurate matching or corresponding pixels. Charpiat's method produce oversmoothed color on the boundary regions. Images colorized by using Zhang's method are extracted by training more than a million color images and diversities of colors based on CNN. However
some unreliable and undistinguished colors appear on the boundary contours. The colorization results obtained by using a local adaptive weighted average filter ensures the correctness of color transfer and spatial consistence and avoids oversmoothing simultaneously in the edge areas. Thus
our proposed method performs better than the existing methods. The evaluation scores for experimental images using our method are higher than 3.5
especially in local areas
and the evaluation results are close to or higher than 4.0
which is greater than the results of those using the existing colorization method.
Conclusion
2
A new colorization approach using color reference images is presented in this paper. The proposed method combines SVM and ISLIC to determine the class probabilities and classifications with high spatial coherence for images. The corresponding pixels are matched based on the space features according to the same class label between the reference and the target images. A local adaptive weighted average filter is defined to transfer the chrominance from the source image to the grayscale image with high-confidence pixels to facilitate spatially coherent colorization and avoid oversmoothing. The colorized pixels are considered automatic scribbles to be spread across all pixels by using global optimization to obtain the final colorization result. Experimental results demonstrate that our proposed method can achieve satisfactory results and is competitive with the existing methods. However
several limitations are observed. First
this method is not fully automated
requiring some human intervention to provide class samples during the process of calculating class probability. Second
the selected space features are not optimal for all images
especially for images with complex textures and rich colors. We will focus on fully automatic operation and general features in our future work.
Gupta R K, Chia A Y S, Rajan D, et al. Image colorization using similar images[C]//Proceedings of the 20th ACM International Conference on Multimedia. Nara, Japan: ACM, 2012: 369-378.[ DOI: 10.1145/2393347.2393402 http://dx.doi.org/10.1145/2393347.2393402 ]
Levin A, Lischinski D, Weiss Y. Colorization using optimization[J]. ACM Transactions on Graphics, 2004, 23(3):689-698.[DOI:10.1145/1015706.1015780]
Chen Y, Wang S Z. Image colorization without edge crossover of colors based on anisotropic diffusion[J]. Journal of Electronics&Information Technology, 2014, 36(2):271-276.
陈颖, 王朔中.避免颜色越界的各向异性扩散图像彩色化[J].电子与信息学报, 2014, 36(2):271-276. [DOI:10.3724/SP.J.1146.2013.00558]
Huang Y C, Tung Y S, Chen J C, et al. An adaptive edge detection based colorization algorithm and its applications[C]//Proceedings of the 13th Annual ACM International Conference on Multimedia. Hilton, Singapore: ACM, 2005: 351-354.[ DOI: 10.1145/1101149.1101223 http://dx.doi.org/10.1145/1101149.1101223 ]
Horiuchi T, Kotera H. Colorization algorithm for monochrome video by sowing color seeds[J]. Journal of Imaging Science and Technology, 2006, 50(3):243-250.[DOI:10.2352/J.ImagingSci.Technol.(2006)50:3(243)]
Li X J, Zhao H L, Huang H. Local linear model optimization based grayscale image colorization[J]. Journal of Image and Graphics, 2013, 18(4):460-466.
厉旭杰, 赵汉理, 黄辉.局部线性模型优化的灰度图像彩色化[J].中国图象图形学报, 2013, 18(4):460-466. [DOI:10.11834/jig.20130414]
Irony R, Cohen-Or D, Lischinski D. Colorization by example[C]//Proceedings of the 16th Eurographics Conference on Rendering Techniques. Konstanz, Germany: ACM, 2005: 201-210.[ DOI: 10.2312/EGWR/EGSR05/201-210 http://dx.doi.org/10.2312/EGWR/EGSR05/201-210 ]
Kuzovkin D, Chamaret C, Pouli T. Descriptor-based image colorization and regularization[C]//Proceedings of the 5th International Workshop on Computational Color Imaging. Saint Etienne, France: Springer, 2015: 59-68.[ DOI: 10.1007/978-3-319-15979-9_6 http://dx.doi.org/10.1007/978-3-319-15979-9_6 ]
Zhang X, Zhao R Z, Cen Y G, et al. Color reconstruction algorithm for grayscale images based on dictionary learning and sparse representation[J]. Journal of Computer-Aided Design&Computer Graphics, 2014, 26(7):1092-1098, 1108.
张勋, 赵瑞珍, 岑翼刚, 等.基于字典学习与稀疏表示的灰度图像颜色重建算法[J].计算机辅助设计与图形学学报, 2014, 26(7):1092-1098, 1108.
Welsh T, Ashikhmin M, Mueller K. Transferring color to greyscale images[J]. ACM Transactions on Graphics (TOG), 2002, 21(3):277-280.[DOI:10.1145/566654.566576]
Liu S G, Zhang X. Automatic grayscale image colorization using histogram regression[J]. Pattern Recognition Letters, 2012, 33(13):1673-1678.[DOI:10.1016/j.patrec.2012.06.001]
Charpiat G, Hofmann M, Schölkopf B. Automatic image colorization via multimodal predictions[C]//Proceedings of the 10th European Conference on Computer Vision: Part Ⅲ. Marseille, France: ACM, 2008: 126-139.[ DOI: 10.1007/978-3-540-88690-7_10 http://dx.doi.org/10.1007/978-3-540-88690-7_10 ]
Larsson G, Maire M, Shakhnarovich G. Learning representations for automatic colorization[C]//Proceedings of the 14th European Conference on Computer Vision. Amsterdam, The Netherlands: Springer, 2016: 577-593.[ DOI: 10.1007/978-3-319-46493-0_35 http://dx.doi.org/10.1007/978-3-319-46493-0_35 ]
Zhang R C, Isola P, EfrosA A. Colorful image colorization[C]//Proceedings of the 14th European Conference on Computer Vision. Amsterdam, The Netherlands: Springer, 2016: 649-666.[ DOI: 10.1007/978-3-319-46487-9_40 http://dx.doi.org/10.1007/978-3-319-46487-9_40 ]
Kim K S, Zhang D N, Kang M C, et al. Improved simple linear iterative clustering superpixels[C]//Proceedings of 2013 IEEE International Symposium on Consumer Electronics. Hsinchu, Taiwan, China: IEEE, 2013: 259-260.[ DOI: 10.1109/ISCE.2013.6570216 http://dx.doi.org/10.1109/ISCE.2013.6570216 ]
Henz B, Limberger F A, Oliveira M M. Independent color-channel adjustment for seamless cloning based on Laplacian-membrane modulation[J]. Computers&Graphics, 2016, 57:46-54.[DOI:10.1016/j.cag.2016.03.004]
相关作者
相关机构
京公网安备11010802024621