• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 图形与图像 • 上一篇    下一篇

结合暗通道先验的光补偿快速去雾算法

杨燕,张宝山,周杰,陈高科   

  1. (兰州交通大学电子与信息工程学院,甘肃 兰州 730070)
  • 收稿日期:2017-10-24 修回日期:2018-01-24 出版日期:2018-11-25 发布日期:2018-11-25

An optical compensation based quick
dehazing algorithm using dark channel prior

YANG Yan,ZHANG Baoshan,ZHOU Jie,CHEN Gaoke   

  1. (School of Electronic and Information Engineering,Lanzhou Jiaotong University,Lanzhou 730070,China)
  • Received:2017-10-24 Revised:2018-01-24 Online:2018-11-25 Published:2018-11-25

摘要:

针对暗通道先验单幅图像去雾算法去雾不彻底、天空区域偏色严重且去雾速度慢等问题,提出了一种结合暗通道先验的光补偿快速去雾算法。首先将二阶Butterworth高通滤波器引入同态滤波函数,在频域内对最小颜色分量进行增强,同时,平滑最小颜色分量中的光照,补偿局部区域因光照不足引起的图像质量下降;然后用双边滤波对其进行平滑处理,使光照在最小颜色分量图像上过渡更加自然;最后将处理之后的最小颜色分量作为引导图细化初始透射率。实验结果表明,与Tarel算法和中值滤波算法相比,该算法得到的去雾图像具有更好的视觉效果;与引导滤波算法相比,该算法去雾效果更为彻底,天空区域颜色还原准确,且运算速度更快。

关键词: 暗通道先验, 同态滤波, 透射率, 最小颜色分量

Abstract:

Aiming at the problems of incomplete dehazing, color cast effect in large sky regions and low efficiency of the single image dehazing algorithm using the dark channel prior, we propose a new optical compensation based quick dehazing algorithm using dark channel prior. Firstly, we introduce the twoorder Butterworth high pass filter into the homomorphic filtering function, and enhance the minimum color components in the frequency domain. Meanwhile, smoothing the illumination in the minimum color component compensates for the degradation of image quality caused by insufficient illumination in the local area. Secondly, we smooth the above image by bilateral filtering, which can make illumination in minimum color components more natural. Finally, the processed minimum color components are regarded as the guide image to refine the initial transmittance. Experimental results show that compared with the Tarel algorithm and median filter algorithm, the restored images processed by the proposed algorithm have better visual effect. Compared with the guided filter algorithm, the recovered hazefree images processed by the proposed algorithm has  better dehazing effect and more accurate color restoration in the sky region, and faster computational speed as well.
 

Key words: dark channel prior, homomorphic filtering, transmittance, minimum color component