电子科技 ›› 2023, Vol. 36 ›› Issue (9): 50-57.doi: 10.16180/j.cnki.issn1007-7820.2023.09.008

• • 上一篇    下一篇

基于残差注意力和半监督学习的图像去雾算法

孙曦,于莲芝   

  1. 上海理工大学 光电信息与计算机工程学院,上海 200093
  • 收稿日期:2022-04-19 出版日期:2023-09-15 发布日期:2023-09-18
  • 作者简介:孙曦(1998-),男,硕士研究生。研究方向:图像去雾。|于莲芝(1966-),女,博士,副教授。研究方向:图像处理、大数据、路径规划。
  • 基金资助:
    国家自然科学基金(61605114)

Image Dehazing Algorithm Based on Residual Attention and Semi-Supervised Learning

SUN Xi,YU Lianzhi   

  1. School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology, Shanghai 200093,China
  • Received:2022-04-19 Online:2023-09-15 Published:2023-09-18
  • Supported by:
    National Natural Science Foundation of China(61605114)

摘要:

基于训练合成图像的去雾算法往往不能在真实图像数据集上取得较好效果。针对泛化能力不理想等问题,文中提出了一种基于残差注意力机制的半监督学习网络用于单幅图像去雾算法。其主干网络由编码器和解码器构成,通过使用堆叠的残差注意力模块调整不同尺度的特征权重,赋予重要特征更多权重。局部残差学习选择绕过薄雾区域,使模型关注有效信息。文中训练分为有监督学习和无监督学习两个分支,分别输入合成数据和真实数据,其中使用暗通道损失和全变分损失来约束无监督分支。实验结果表明,文中所提算法在合成数据集和真实数据集上均取得了较好的结果,图像的平均处理时间仅为0.01 s,在去雾效果和处理时间上实现了平衡。

关键词: 图像去雾, 编码解码结构, 半监督框架, 注意力机制, 残差连接, SOS增强策略, 暗通道损失, SSIM损失

Abstract:

Dehazing algorithms based on training synthetic images cannot achieve satisfactory results on real image data sets. In view of these problems of unsatisfactory generalization ability, this study proposes a semi-supervised learning network based on residual attention mechanism for single image dehaze. The backbone network of the proposed model consists of an encoder and a decoder. Using stacked residual attention modules, the feature weights of different scales are adjusted to give more weight to important features. Local residuals choose to bypass hazy regions so that the model can focus on valid information. The training in this study is divided into two branches: supervised learning and unsupervised learning, which input synthetic data and real data respectively. Dark channel loss and total variational loss are used to constrain the unsupervised branches. The results show that the proposed algorithm obtains ideal results on both synthetic data sets and real data sets, and the average processing time of images is only 0.01 s, achieving a balance between dehazing effect and processing time.

Key words: image dehazing, encoding and decoding structure, semi-supervisory framework, attention mechanism, residual connection, SOS enhancement strategy, dark channel loss, SSIM loss

中图分类号: 

  • TP391.41
Baidu
map