计算机工程 ›› 2019, Vol. 45 ›› Issue (10): 239-245.doi: 10.19678/j.issn.1000-3428.0052600

• 图形图像处理 • 上一篇    下一篇

基于自适应阈值分割与透射率融合的图像去雾算法

向文鼎1,2,3, 杨平1,2, 许冰1,2   

  1. 1. 中国科学院自适应光学重点实验室, 成都 610209;
    2. 中国科学院光电技术研究所, 成都 610209;
    3. 中国科学院大学, 北京 100049
  • 收稿日期:2018-09-07 修回日期:2018-10-23 出版日期:2019-10-15 发布日期:2018-11-02
  • 作者简介:向文鼎(1991-),男,博士研究生,主研方向为数字图像处理;杨平,博士;许冰,硕士。
  • 基金项目:
    四川省杰出青年基金(2012JQ0012)。

Image Dehazing Algorithm Based on Adaptive Threshold Segmentation and Transmittance Fusion

XIANG Wending1,2,3, YANG Ping1,2, XU Bing1,2   

  1. 1. Key Laboratory on Adaptive Optics, Chinese Academy of Sciences, Chengdu 610209, China;
    2. Institute of Optics and Electronics, Chinese Academy of Sciences, Chengdu 610209, China;
    3. University of Chinese Academy of Sciences, Beijing 100049, China
  • Received:2018-09-07 Revised:2018-10-23 Online:2019-10-15 Published:2018-11-02

摘要: 利用暗通道先验去雾算法处理包含大块亮白区域的图像时,存在图像失真的问题。为此,提出一种改进的的单幅图像去雾算法。利用基于图像子块平均灰度值和标准差的四叉树分解方法得到大气光估值,通过图像暗通道直方图分布自适应计算分割阈值,据此将图像划分为亮白区域与非亮白区域。根据图像的灰度分布数据计算权重因子,将其融入透射率以提高图像边缘的平滑度。在此基础上,应用大气散射模型恢复无雾图像。实验结果表明,该算法能够有效解决天空区域色彩失真的问题,所得图像视觉效果明亮自然,图像交界景深突变处也较为平滑。

关键词: 图像去雾, 阈值分割, 四叉树分解, 大气散射模型, 引导滤波

Abstract: When the dark channel priori dehazing algorithm is used to process an image with a large bright white area,the problem of image distortion occurs.To this end,an improved single image dehazing algorithm is proposed.The atmospheric light is obtained by quad-tree decomposition method based on sub-block average gray value and standard deviation.The segmentation threshold is adaptively calculated by the image dark channel histogram distribution,and the image is divided into a bright area and a non-bright area.The grayscale distribution of the image is used to calculate a weighting factor.And this weighting factor is used to blend the transmittance to make the edges smoother.On this basis,the haze-free image is restored by the atmospheric scattering model.Experimental results show that the algorithm effectively solves the problem of color distortion in the sky region,the visual effect is bright and natural,and the sudden change of the depth of the image boundary is smooth.

Key words: image dehazing, threshold segmentation, quad-tree decomposition, atmospheric scattering model, guided filtering

中图分类号: