An Effective Two-Branch Model-Based Deep Network for Single Image Deraining

Yinglong Wang, Dong Gong, Jie Yang, Qinfeng Shi, Anton van den Hengel, Dehua Xie, Bing ZengarXiv 2019

Single-image deraining is a challenging task in computer vision, particularly under heavy rain conditions where visibility is obscured by both discrete rain streaks and a pervasive "veiling effect" similar to haze. Traditional methods often rely on a simple additive model ($I = B + R$), which fails to account for the atmospheric scattering caused by accumulated raindrops. This paper, presented at ICCV 2019, introduces AMPE-Net (rAin Model Parameter Estimation Network), a novel architecture that integrates a physics-based imaging model into a deep learning framework to simultaneously remove streaks and restore clarity from the rain-induced mist.

The Physics-Informed Approach

Most existing deraining algorithms focus solely on removing the linear patterns of rain streaks. However, in heavy downpours, the scattering of light by tiny water droplets creates a "mist" that desaturates colors and blurs object boundaries. To address this, the authors propose a more comprehensive physical model:

$$I = T \circ B + R$$

In this equation, $I$ is the observed rainy image, $B$ is the clear background, $R$ represents the rain streak layer, and $T$ is the transmission map representing the mist effect. By treating deraining as a joint parameter estimation problem for $T$ and $R$, the network can effectively "dehaze" the scene while removing streaks.

Architecture: AMPE-Net

The AMPE-Net architecture is designed to mirror the components of the physical model through a multi-stage process.

The AMPE-Net architecture, featuring LocNet for streak localization, a two-branch estimation network (EstNet-T and EstNet-R), and a refinement module (RefNet).

1. LocNet (Localization Network)

Before estimating the layers, the model must identify where the rain is. LocNet uses multi-scale convolutional kernels (3x3, 5x5, 7x7) to generate a binary-like location map ($L$). This map acts as a spatial guide, focusing the subsequent branches on rain-heavy regions.

2. Two-Branch Estimation (EstNet-T & EstNet-R)

The network splits into two parallel paths:

  • EstNet-R: Estimates the rain streak layer ($R$).
  • EstNet-T: Estimates the transmission map ($T$).

Crucially, these branches are trained without direct ground truth for $R$ or $T$. Instead, they are optimized based on the reconstruction of the final background $B$, using alternating loss functions to prevent branch collapse.

3. RefNet and Flexible Control

The preliminary background is passed through RefNet, which utilizes Spatial Pyramid Pooling (SPP) to refine color and contrast. A weight parameter ($\alpha$) is introduced to allow manual control over the strength of the mist removal, ensuring the final output does not look unnaturally over-processed.

Experimental Results

The authors evaluated AMPE-Net against several state-of-the-art methods using both synthetic datasets (Rain-I and Rain-II) and real-world imagery.

Qualitative comparison of deraining methods. (a) Input rainy image. (b-g) Results from competing methods. (h) Result from the proposed AMPE-Net, showing superior color restoration and streak removal.

Quantitative Performance

On the Rain-II dataset, which specifically simulates heavy rain and veiling effects, AMPE-Net achieved a PSNR of 33.33 dB, a significant improvement over the next best method's 30.53 dB. This demonstrates the effectiveness of incorporating the transmission map into the model.

Efficiency and Versatility

Despite its complexity, AMPE-Net is highly efficient, processing a 512x512 image in approximately 0.05 seconds. Furthermore, the authors demonstrated that the model generalizes well; by setting the rain streak component to zero, the network functions as a high-performance image dehazing tool.

Conclusion

AMPE-Net represents a shift from "black-box" deep learning toward physics-informed architectures. By explicitly modeling the atmospheric scattering of rain, the network achieves superior visual clarity and color fidelity in heavy rain scenarios where traditional streak-removal methods fail. Future work may extend this model-based approach to other complex weather phenomena like snow and sleet.

Summary updated

BibTeX
@misc{wang2019effective,
  author = {Yinglong Wang and Dong Gong and Jie Yang and Qinfeng Shi and Anton van den Hengel and Dehua Xie and Bing Zeng},
  title = {{An Effective Two-Branch Model-Based Deep Network for Single Image Deraining}},
  year = {2019},
  eprint = {1905.05404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.05404},
}
Figure