Beyond Monocular Deraining: Parallel Stereo Deraining Network Via Semantic Prior

Kaihao Zhang, Wenhan Luo, Yanjiang Yu, Wenqi Ren, Fang Zhao, Changsheng Li, Lin Ma, Wei Liu, Hongdong Li

Abstract

While most image deraining research focuses on single-image (monocular) inputs, this paper introduces a framework that leverages stereo image pairs and semantic priors to achieve superior results. By combining geometric cues from two views with object-level context (e.g., knowing a pixel is part of a "road" vs. a "tree"), the proposed PRRNet and EPRRNet architectures set new state-of-the-art benchmarks for rain removal. This approach effectively addresses the limitations of monocular methods that often struggle with pixel-level textures and ignore broader scene context.

The Problem: Limitations of Monocular Deraining

Rain streaks significantly degrade image quality, potentially causing critical failures in outdoor computer vision systems like autonomous vehicles or surveillance. Most existing deraining algorithms are "monocular," processing only a single frame. These methods often fail because they rely solely on local textures, making it difficult to distinguish between rain streaks and fine background details.

Furthermore, many modern robots and cars are equipped with stereo cameras. Stereo vision provides a massive advantage: because rain streaks are typically closer to the lens or distributed randomly, a region obscured by rain in the left camera view might be perfectly clear in the right camera view. This paper exploits both this stereo geometry and semantic understanding to recover clean scenes.

Stereo geometry reveals how rain streaks affect left and right views differently, allowing for information recovery from the unobstructed view.

Methodology

The authors propose two primary architectures designed to fuse multi-view information with semantic context.

1. PRRNet (Paired Rain Removal Network)

PRRNet utilizes a SADM (Semantic-Aware Deraining Module), a multi-task network that jointly learns to remove rain and perform semantic segmentation. It employs a "Semantic-Rethinking Loop" to refine its understanding of the scene across different stages. The extracted semantic information and multi-view (stereo) information are then fused by SFNet and VFNet, respectively, to reconstruct the final image.

2. EPRRNet (Enhanced PRRNet)

EPRRNet adopts a coarse-to-fine strategy to improve robustness. First, a Coarse Deraining Network reduces initial rain streaks. Second, a pre-trained semantic segmentation network (such as PSPNet) extracts labels from the partially cleaned image. This is significantly more effective than attempting to segment a heavily rainy image. Finally, a Parallel Stereo Deraining Network uses these semantic labels as "priors" to guide high-fidelity restoration, ensuring that different objects (sky, cars, vegetation) are restored with appropriate textures.

Architectural comparison between (a) PRRNet and (b) the enhanced EPRRNet, highlighting the coarse-to-fine strategy and semantic integration.

Key Insights and Datasets

  • The Stereo Advantage: The paper mathematically demonstrates that identical rain streaks affect stereo views differently. This "disparity" allows the network to "look around" raindrops by using information from the alternate view.
  • Semantics as a Guide: Different objects interact with rain differently. By providing the network with semantic labels, it can apply specific "priors" to different regions—for instance, maintaining the sharp edges of a car while smoothing the uniform texture of the sky.
  • Coarse-to-Fine Synergy: A key realization is that semantic segmentation fails on very rainy images. By performing a "quick and dirty" derain first, the semantic labels become much more accurate, which in turn makes the final "fine" deraining more effective.

To train these models, the authors created the RainKITTI2012 and RainKITTI2015 datasets by adding synthetic rain to the famous KITTI stereo benchmarks, providing thousands of image pairs with ground-truth clean images.

Results and Performance

The proposed methods significantly outperformed existing state-of-the-art (SOTA) monocular derainers:

  • Quantitative: On the RainKITTI2012 dataset, EPRRNet achieved a PSNR of 34.13 dB, compared to the monocular SOTA (DAF-Net) at 30.44 dB. This represents a substantial improvement in reconstruction quality.
  • Qualitative: Visual results show that the parallel stereo networks preserve much finer structural details and suffer from fewer "ghosting" artifacts than single-image methods.
  • Real-World Performance: When tested on real-world rainy images, the model demonstrated better generalization, effectively removing rain while preserving the natural colors and textures of the scene.

Conclusion

By moving beyond monocular inputs and integrating semantic priors, PRRNet and EPRRNet provide a more robust solution for all-weather computer vision. Future work may focus on bridging the gap between synthetic and real-world rain physics and optimizing these complex models for real-time performance on edge devices.

Summary updated

BibTeX
@article{zhang2022beyond,
  author = {Kaihao Zhang and Wenhan Luo and Yanjiang Yu and Wenqi Ren and Fang Zhao and Changsheng Li and Lin Ma and Wei Liu and Hongdong Li},
  title = {{Beyond Monocular Deraining: Parallel Stereo Deraining Network Via Semantic Prior}},
  journal = {Int. J. Comput. Vis.},
  year = {2022},
  url = {https://openreview.net/forum?id=XwAvfreK04l},
}
Figure