Journal of Shanghai Jiao Tong University ›› 2024, Vol. 58 ›› Issue (10): 1606-1617.doi: 10.16183/j.cnki.jsjtu.2023.043

• Original article • Previous Articles     Next Articles

A Transformer-Based Diffusion Model for All-in-One Weather-Degraded Image Restoration

QIN Jing, WEN Yuanbo(), GAO Tao, LIU Yao   

  1. School of Information and Engineering, Chang’an University, Xi’an 710064, China
  • Received:2023-02-10 Revised:2023-03-02 Accepted:2023-03-09 Online:2024-10-28 Published:2024-11-01

Abstract:

Image restoration under adverse weather conditions is of great significance for the subsequent advanced computer vision tasks. However, most existing image restoration algorithms only remove single weather degradation, and few studies has been conducted on all-in-one weather-degraded image restoration. The denoising diffusion probability model is combined with Vision Transformer to propose a Transformer-based diffusion model for all-in-one weather-degraded image restoration. First, the weather-degraded image is utilized as the condition to guide the reverse sampling of diffusion model and generate corresponding clean background image. Then, the subspace transposed Transformer for noise estimation (NE-STT) is proposed, which utilizes the degraded image and the noisy state to estimate noise distribution, including the subspace transposed self-attention (STSA) mechanism and a dual grouped gated feed-forward network (DGGFFN). The STSA adopts subspace transformation coefficient to effectively capture global long-range dependencies while significantly reducing computational burden. The DGGFFN employs the dual grouped gated mechanism to enhance the nonlinear characterization ability of feed-forward network. The experimental results show that in comparison with the recently developed algorithms, such as All-in-One and TransWeather, the method proposed obtains a performance gain of 3.68 and 3.08 dB in average peak signal-to-noise ratio while 2.93% and 3.13% in average structural similarity on 5 weather-degraded datasets.

Key words: computer vision, diffusion model, image restoration, Transformer, weather-degraded image

CLC Number: