See clearly on rainy days: Hybrid multiscale loss guided multi-feature fusion network for single image rain removal

Huiyuan Fu, Yu Zhang, Huadong Ma

Abstract

Single-image rain removal is a challenging task due to the complex nature of rain streaks and atmospheric accumulation. We present MSGMFFNet, a novel architecture that employs a multi-input strategy and a hybrid multiscale loss function to restore clear backgrounds. By fusing features from pre-processed images and prioritizing edge preservation, the network effectively removes rain while maintaining fine texture details, outperforming existing state-of-the-art methods in both quantitative and qualitative evaluations.

Introduction

Rain significantly degrades image quality, affecting both human perception and automated vision systems like those used in self-driving cars or surveillance. The problem is twofold: visible streaks and "rain accumulation," a haze-like effect common in heavy downpours. Traditional deraining methods often struggle with a trade-off between incomplete rain removal and over-smoothing of background details, such as text or fine patterns.

The MSGMFFNet Architecture

The Hybrid Multiscale Loss Guided Multiple Feature Fusion Network (MSGMFFNet) addresses these challenges through four key pillars:

  1. Multi-Input Strategy: Instead of relying solely on the raw rainy image, the network processes three versions: the original, a contrast-enhanced version (to combat haze), and a gamma-corrected version (to preserve details in bright regions).
  2. Attention Map Learning: A recursive module using Gated Recurrent Units (GRUs) generates a "rain streak attention map." This guides the network to focus its cleaning efforts on rain-affected areas while leaving the background intact.
  3. Feature Fusion: A gating mechanism calculates weight maps to decide which of the three inputs provides the most reliable information for each specific pixel.
  4. Hybrid Multiscale Loss ($L_H$): This novel loss function combines standard $L_1$ pixel-to-pixel loss with an edge loss using a Scharr filter. By calculating this across multiple image scales, the network learns to keep edges sharp while removing rain of varying densities.

Experimental Results

MSGMFFNet was evaluated on synthetic datasets like DID-MDN and Rain800, as well as real-world traffic surveillance data (RIS Dataset).

Quantitative and Qualitative Performance

The model achieved a PSNR of 31.48 dB on the Test1 synthetic dataset, surpassing other leading models like UMRL (30.95 dB). Qualitatively, MSGMFFNet is exceptionally good at preserving high-frequency textures that other models typically blur out.

Visual comparison of deraining results on a "Beer Garden" sign. Panel (a) shows the original rainy image, while (b-d) show different stages of restoration and comparison, highlighting the network's ability to preserve text and fine edges.

Downstream Task Utility

To test its practical application, the researchers used the derained images for object detection with Faster R-CNN. The Mean Average Precision (mAP) improved from 15.5% on raw rainy images to 16.3% after processing with MSGMFFNet, proving its value for autonomous systems.

Conclusion and Future Work

By treating rain as a multi-scale phenomenon and prioritizing edge preservation through a hybrid loss function, MSGMFFNet provides a robust solution for single-image deraining. While the model performs excellently, future work will focus on "joint training" to maximize accuracy for specific downstream tasks like object detection and reducing computational complexity for real-time mobile applications.

Summary updated

BibTeX
@article{fu2021see,
  author = {Huiyuan Fu and Yu Zhang and Huadong Ma},
  title = {{See clearly on rainy days: Hybrid multiscale loss guided multi-feature fusion network for single image rain removal}},
  journal = {Comput. Vis. Media},
  year = {2021},
  doi = {10.1007/s41095-021-0210-3},
}
Figure