A Fast Single Image Dehazing Method Based on Dark Channel Prior and Retinex Theory
-
摘要: 针对雾霾天气下捕获的图像存在低对比度、低饱和度和色调偏移等现象, 提出了一种基于暗通道先验和Retinex理论的快速单幅图像去雾方法.该方法从大气散射模型出发, 利用暗通道先验法则,通过灰度开运算对大气光值进行区间估计,同时获得介质传输率的初始估计, 并通过白平衡简化大气散射模型; 其次,基于Retinex理论,利用高斯滤波获得介质传输率的粗略估计, 并通过线性映射实现灰度值搬移; 然后,将介质传输率的初始估计和粗略估计进行像素级融合, 利用快速联合双边滤波进行边缘优化,同时通过参数自适应调整的方法对雾图中大片天空区域的介质传输 率进行修正; 最后,通过简化大气散射模型和色调调整得到复原图像.与几种典型的图像去雾算法相比, 本文算法具有很快的运算速度,能有效提高复原图像的清晰度和对比度,同时获得较好的图像颜色.
-
关键词:
- 图像去雾 /
- 大气散射模型 /
- 暗通道先验 /
- Retinex 理论 /
- 图像融合
Abstract: Imaging in the atmosphere presents the phenomenons of low contrast, low saturation and hue offset due to atmospheric particles such as haze and fog. In this paper, a fast method is proposed to remove haze from a single image based on dark channel prior and Retinex theory. Based on the atmospheric scattering model, dark channel prior and gray-scale opening operation are used to estimate the value of global atmospheric light by an interval. Meanwhile, the initial estimation of medium transmission is obtained. And the white balance is performed to simplify the atmospheric scattering model. Then, a simple Gaussian filter is adopted to get the coarse estimation of medium transmission based on Retinex theory, whose gray value is altered by linear mapping. After the pixels fusion between the initial estimation and coarse estimation of medium transmission, a fast joint bilateral filtering is used to refine edge, and a dynamic parameter strategy is adopted to improve the medium transmission of large sky region in fog image. Finally, the simplified atmospheric scattering model and tone mapping are used to get the restored image. Compared to some state-of-the-art methods, the proposed method can achieve a faster processing speed, effectively improve the visibility and contrast of the restored image, and obtain good color effect.-
Key words:
- Image dehazing /
- atmospheric scattering model /
- dark channel prior /
- Retinex theory /
- image fusion
-
[1] Sun Xiao-Ming, Sun Jun-Xi, Zhao Li-Rong, Cao Yong-Gang. Improved algorithm for single image haze removing using dark channel prior. Journal of Image and Graphics, 2014, 19(3): 381-385(孙小明, 孙俊喜, 赵立荣, 曹永刚. 暗原色先验单幅图像去雾改进算法. 中国图象图形学报, 2014, 19(3): 381-385) [2] Wu Di, Zhu Qing-Song. The latest research progress of image dehazing. Acta Automatica Sinica, 2015, 41(2): 221-239(吴迪, 朱青松. 图像去雾的最新研究进展. 自动化学报, 2015, 41(2): 221-239) [3] Ji Xiao-Qiang, Dai Ming, Yin Chuan-Li, Feng Yu-Ping, Bai Xu-Guang. Haze removal for aerial degraded images. Optics and Precision Engineering, 2011, 19(7): 1659-1668(嵇晓强, 戴明, 尹传历, 冯宇平, 柏旭光. 航拍降质图像的去雾处理. 光学精密工程, 2011, 19(7): 1659-1668) [4] Nan Dong, Bi Du-Yan, Xu Yue-Lei, Wang Shi-Qiang, Lou Xiao-Long. Image dehazing method based on dark channel prior. Journal of Central South University (Science and Technology), 2013, 44(10): 4101-4108(南栋, 毕笃彦, 许悦雷, 王世强, 娄小龙. 基于暗原色先验的图像去雾算法. 中南大学学报(自然科学版), 2013, 44(10): 4101-4108) [5] Sun Wei, Li Da-Jian, Liu Hong-Juan, Jia Wei. Fast single image fog removal based on atmospheric scattering model. Optics and Precision Engineering, 2013, 21(4): 1040-1046(孙伟, 李大健, 刘宏娟, 贾伟. 基于大气散射模型的单幅图像快速去雾. 光学精密工程, 2013, 21(4): 1040-1046) [6] Li Quan-He, Bi Du-Yan, Xu Yue-Lei, Zha Yu-Fei. Haze degraded image scene rendition. Acta Automatica Sinica, 2014, 40(4): 744-750(李权合, 毕笃彦, 许悦雷, 查宇飞. 雾霾天气下可见光图像场景再现. 自动化学报, 2014, 40(4): 744-750) [7] [7] Tan R T. Visibility in bad weather from a single image. In: Proceedings of the 2008 IEEE Conference on Computer Vision and Pattern Recognition. Anchorage, USA: IEEE, 2008. 1-8 [8] [8] Fattal R. Single image dehazing. ACM Transactions on Graphics, 2008, 27(3): Article No.72 [9] [9] He K M, Sun J, Tang X O. Single image haze removal using dark channel prior. In: Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition. Miami, USA: IEEE, 2009. 1956-1963 [10] Tarel J P, Hautiere N. Fast visibility restoration from a single color or gray level image. In: Proceedings of the 12th IEEE International Conference on Computer Vision. Kyoto, USA: IEEE, 2009. 2201-2208 [11] Namer E, Schechner Y Y. Advanced visibility improvement based on polarization filtered images. In: Proceedings of the 2005 Polarization Science and Remote Sensing. San Diego, USA: SPIE, 2005. 36-45 [12] Cardei V C, Funt B, Barnard K. White point estimation for uncalibrated images. In: Proceedings of the 7th IS and T/SID Color Imaging Conference: Color Science, Systems and Applications. Scottsdale, 1999. 97-100 [13] Yu Jing, Li Da-Peng, Liao Qing-Min. Physics-based fast single image fog removal. Acta Automatica Sinica, 2011, 37(2): 143-149(禹晶, 李大鹏, 廖庆敏. 基于物理模型的快速单幅图像去雾方法. 自动化学报, 2011, 37(2): 143-149) [14] Liu Hai-Bo, Tang Qun-Fang, Yang Jie. Application of improved histogram equalization and Retinex algorithm in gray image enhancement. Chinese Journal of Quantum Electronics, 2014, 31(5): 525-532(刘海波, 汤群芳, 杨杰. 改进直方图均衡和Retinex算法在灰度图像增强中的应用. 量子电子学报, 2014, 31(5): 525-532) [15] Zhang Xiao-Gang, Tang Mei-Ling, Chen Hua, Tang Hong-Zhong. A dehazing method in single image based on double-area filter and image fusion. Acta Automatica Sinica, 2014, 40(8): 1733-1739(张小刚, 唐美玲, 陈华, 汤红忠. 一种结合双区域滤波和图像融合的单幅图像去雾算法. 自动化学报, 2014, 40(8): 1733-1739) [16] Burt P J, Kolczynski R J. Enhanced image capture through fusion. In: Proceedings of the 4th International Conference on Computer Vision. Berlin, USA: IEEE, 1993. 173-182 [17] Paris M, Fredo D. A fast approximation of the bilateral filter using a signal processing approach. In: Proceedings of the 9th European Conference on Computer Vision. Graz, Austria: Springer, 2006. 568-580 [18] Wu Xiao-Tian, Lu Jian-Feng, He Bo-Gen, Wu Chuan, Zhu Ming. Fast restoration of haze-degraded image. Chinese Optics, 2013, 6(6): 892-899(吴笑天, 鲁剑锋, 贺柏根, 吴川, 朱明. 雾天降质图像的快速复原. 中国光学, 2013, 6(6): 892-899) [19] Gan Jia-Jia, Xiao Chun-Xia. Fast image dehazing based on accurate scattering map. Journal of Image and Graphics, 2013, 18(5): 583-590(甘佳佳, 肖春霞. 结合精确大气散射图计算的图像快速去雾. 中国图象图形学报, 2013, 18(5): 583-590) [20] Zhang Hong-Ying, Zhang Sai-Nan, Wu Ya-Dong, Wu Bin. Fast haze removal algorithm for single image based on human visual characteristics. Journal of Computer Applications, 2014, 34(6): 1753-1757, 1761(张红英, 张赛楠, 吴亚东, 吴斌. 基于人眼视觉特性的快速单幅图像去雾算法. 计算机应用, 2014, 34(6): 1753-1757, 1761) [21] Drago F, Myszkowski K, Annen T, Chiba N. Adaptive logarithmic mapping for displaying high contrast scenes. Computer Graphics Forum, 2003, 22(3): 419-426 [22] Guo Fan, Cai Zi-Xing. Objective assessment method for the clearness effect of image defogging algorithm. Acta Automatica Sinica, 2012, 38(9): 1410-1419(郭璠, 蔡自兴. 图像去雾算法清晰化效果客观评价方法. 自动化学报, 2012, 38(9): 1410-1419) [23] Hautire N, Tarel J P, Aubert D, Dumont . Blind contrast enhancement assessment by gradient ratioing at visible edges. Image Analysis and Stereology, 2008, 27(2): 87-95 [24] Jobson D J, Rahman Z, Woodell G A. Statistics of visual representation. In: Proceedings of the 2002 Visual Information Processing XI. Orlando, USA: SPIE, 2002. 25-35 [25] Li Ju-Xia, Yu Xue-Li. Enhance algorithm for fog images based on improved multi-scale Retinex. Computer Science, 2013, 40(3): 299-301(李菊霞, 余雪丽. 雾天条件下的多尺度Retinex图像增强算法. 计算机科学, 2013, 40(3): 299-301) [26] Ancuti C O, Ancuti C. Single image dehazing by multi-scale fusion. IEEE Transactions on Image Processing, 2013, 22(8): 3271-3282 [27] Kopf J, Neubert B, Chen B, Cohen M F, Cohen-Or D, Deussen O, Uyttendaele M, Lischinski D. Deep photo: model-based photograph enhancement and viewing. ACM Transactions on Graphics, 2008, 27(5): Article No.116
点击查看大图
计量
- 文章访问数: 3496
- HTML全文浏览量: 184
- PDF下载量: 1786
- 被引次数: 0