DWTN: deep wavelet transform network for lightweight single image deraining

Wenyin Tao, Xuefeng Yan, Yongzhen Wang, Mingqiang WeiAdvances 2024

Abstract

Rain streaks in images captured by RGB sensors often cause blurring and distortion, complicating downstream computer vision tasks. While traditional deep learning models primarily rely on spatial features, they often struggle to distinguish rain marks from fine image details, leading to information loss. We present the Deep Wavelet Transform Network (DWTN), a lightweight model that leverages the Discrete Wavelet Transform (DWT) to process images in both spatial and frequency domains. By decomposing images into frequency sub-bands and applying specialized enhancement blocks, DWTN effectively removes rain streaks while preserving background textures. Evaluations across six datasets demonstrate that DWTN outperforms existing state-of-the-art methods in both restoration quality and computational efficiency.

The Challenge of Spatial-Domain Deraining

Single-image deraining is a difficult restoration task because rain streaks and background textures often overlap significantly in the RGB spatial domain. Standard convolutional neural networks (CNNs) operating purely on pixels frequently over-smooth images, treating fine details as noise. This "ghosting" effect degrades the utility of images for high-level tasks like autonomous driving or object detection.

Methodology: Frequency-Aware Processing

The core innovation of DWTN is its use of the wavelet domain to isolate rain characteristics. The network architecture is divided into four primary stages: shallow feature extraction, frequency feature enhancement, spatial feature enhancement, and image reconstruction.

The DWTN architecture pipeline, illustrating the flow from DWT decomposition through frequency-aware and spatial enhancement blocks.

Key Components

  1. Discrete Wavelet Transform (DWT): The model uses a 2D-DWT to split features into four sub-bands: Low-Low (LL), Low-High (LH), High-Low (HL), and High-High (HH). This separation allows the model to address structural information and directional details independently.
  2. Frequency-Aware Enhancement Block (FAEB): Each wavelet component is processed by a dedicated FAEB using Residual Dense Blocks (RDBs). This "divide and conquer" strategy allows the network to focus on frequency-specific characteristics unique to each sub-band.
  3. Frequency Feature Fusion Block (FFFB): This component employs a channel attention mechanism to intelligently recombine the frequency components, emphasizing background details while suppressing rain-induced noise.
  4. Spatial Feature Enhancement Block (SFEB): After the Inverse DWT (IWT) returns the features to the spatial domain, the SFEB uses spatial attention to calibrate feature positioning and sharpen textures.

Experimental Results and Efficiency

DWTN was evaluated on four synthetic datasets (Rain200L/H, Rain800, Rain1400) and two real-world datasets (MPID, SPA). The model consistently achieved superior Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM) compared to much larger models.

Performance comparison of DWTN variants against SOTA methods, showing the superior trade-off between PSNR (quality) and parameter count (efficiency).

As shown in the performance analysis, the largest variant, DWTN-L, achieved a PSNR of 39.70 dB on the Rain200L dataset, significantly outperforming the heavy-weight HINet (37.28 dB) despite using only about one-fourth of the parameters (~26M vs ~88M). Even the smallest variant, DWTN-S, outperformed larger models like Uformer and TransWeather with a footprint of only 5 million parameters.

Conclusion

DWTN represents a significant step forward in lightweight image restoration. By integrating wavelet-based frequency analysis with modern attention mechanisms, the model achieves state-of-the-art deraining performance without the heavy computational costs associated with traditional deep spatial networks. Future work will explore extending this architecture to handle complex multi-weather effects and real-time video processing.

Summary updated

BibTeX
@inproceedings{tao2024dwtn,
  author = {Wenyin Tao and Xuefeng Yan and Yongzhen Wang and Mingqiang Wei},
  title = {{DWTN: deep wavelet transform network for lightweight single image deraining}},
  booktitle = {Advances},
  year = {2024},
  doi = {10.1186/s13662-024-03843-2},
}
Figure