计算机应用 ›› 2016, Vol. 36 ›› Issue (12): 3406-3410.DOI: 10.11772/j.issn.1001-9081.2016.12.3406

• 虚拟现实与数字媒体 • 上一篇    下一篇

基于暗原色先验的单幅图像快速去雾算法

王雅婷1,2, 冯子亮1,2   

  1. 1. 四川大学 计算机学院, 成都 610065;
    2. 视觉合成图形图像技术国家重点学科实验室, 成都 610065
  • 收稿日期:2016-06-20 修回日期:2016-09-03 出版日期:2016-12-10 发布日期:2016-12-08
  • 通讯作者: 冯子亮
  • 作者简介:王雅婷(1992-),女,四川广安人,硕士研究生,CCF会员,主要研究方向:数字图像处理;冯子亮(1970-),男,四川成都人,教授,博士,主要研究方向:空管系统、数字图像处理。
  • 基金资助:
    国家自然科学基金资助项目(61572333)。

Single image fast dehazing method based on dark channel prior

WANG Yating1,2, FENG Ziliang1,2   

  1. 1. College of Computer Science, Sichuan University, Chengdu Sichuan 610065, China;
    2. National Key Laboratory of Fundamental Science on Synthetic Vision, Chengdu Sichuan 610065, China
  • Received:2016-06-20 Revised:2016-09-03 Online:2016-12-10 Published:2016-12-08
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61572333).

摘要: 针对雾天环境下图像清晰度降低以及色调偏移问题,提出一种基于暗原色先验的单幅图像快速去雾算法。首先使用灰度开运算代替最小值滤波得到粗略暗通道图,根据方差标记出雾天图像各个景深突变区的位置,并对突变区的暗原色值进行细化求解;其次求解出透射率的粗略估计并使用引导滤波来进行优化;然后使用一种自适应的容差机制对天空等明亮区域的透射率进行动态修正;最后利用大气散射模型复原出无雾图像。实验结果表明,与几种典型的图像去雾算法相比,所提算法具有较快的处理速度,同时得到的复原图像细节突出、色彩丰富。

关键词: 图像去雾, 暗原色先验, 引导滤波, 容差, 图像复原

Abstract: To solve the bad influence on images in foggy days such as decrease of definition and color deviation problem, a fast dehazing method for single image based on dark channel prior was proposed. Firstly, minimum was replaced by gray-scale opening operation to obtain rough dark channel image, and the regions which showed the sudden changes in the foggy image were marked based on the variance so that small window was used to correct the dark channel value in these areas. Next, the rough transmission map was acquired and the guided filter was adopted to refine the transmission. Then, the transmission of sky or other light area was corrected dynamically by using a self-adapting tolerance mechanism. Finally, the final haze-free image was restored from the atmospheric scattering model. The experimental results demonstrate that, compared with other representative dehazing algorithms, the proposed method can achieve a faster processing speed and provide more detailed restored image with good color effect.

Key words: image dehazing, dark channel prior, guided filter, tolerance, image restoration

中图分类号: