[Paper Review] Spatial Attentive Single-Image Deraining with a High Quality Real Rain Dataset
This paper proposes a semi-automatic method to generate high-quality real rain/clean image pairs from video sequences using temporal priors and human supervision, creating a large-scale dataset of ~29.5K pairs. It further introduces SPANet, a spatial attentive network that removes rain streaks via local-to-global feature learning, achieving state-of-the-art performance on real-world deraining benchmarks with PSNR of 38.06 and SSIM of 0.9867.
Removing rain streaks from a single image has been drawing considerable attention as rain streaks can severely degrade the image quality and affect the performance of existing outdoor vision tasks. While recent CNN-based derainers have reported promising performances, deraining remains an open problem for two reasons. First, existing synthesized rain datasets have only limited realism, in terms of modeling real rain characteristics such as rain shape, direction and intensity. Second, there are no public benchmarks for quantitative comparisons on real rain images, which makes the current evaluation less objective. The core challenge is that real world rain/clean image pairs cannot be captured at the same time. In this paper, we address the single image rain removal problem in two ways. First, we propose a semi-automatic method that incorporates temporal priors and human supervision to generate a high-quality clean image from each input sequence of real rain images. Using this method, we construct a large-scale dataset of $\sim$$29.5K$ rain/rain-free image pairs that covers a wide range of natural rain scenes. Second, to better cover the stochastic distribution of real rain streaks, we propose a novel SPatial Attentive Network (SPANet) to remove rain streaks in a local-to-global manner. Extensive experiments demonstrate that our network performs favorably against the state-of-the-art deraining methods.
Motivation & Objective
- To address the lack of realistic, high-quality training data for single-image deraining by generating real rain/clean image pairs from video sequences.
- To overcome the limitations of synthesized datasets that fail to model real rain characteristics such as shape, direction, and intensity variation.
- To develop a benchmark for quantitative evaluation of deraining methods on real rain images, as existing benchmarks rely on synthetic data or qualitative comparisons.
- To design a deep learning model capable of handling the stochastic and diverse appearance of real rain streaks across a single image.
- To improve deraining performance on real-world images by training state-of-the-art models on the newly constructed real rain dataset.
Proposed method
- A semi-automatic method uses temporal priors—where rain drops do not persist on the same pixel over time—and human supervision to reconstruct a clean image from a sequence of real rain images.
- The method leverages pixel intensity fluctuations across frames to identify and reconstruct clean pixels, forming high-resolution rain/clean image pairs.
- A novel SPANet architecture employs spatial attention modules (SAMs) that model rain streaks using horizontal and vertical neighborhood features before aggregating non-local contextual information.
- The SPANet uses a multi-scale, shared-weight spatial attention mechanism to enhance feature discrimination for rain streak removal in a local-to-global manner.
- The network is trained with an attention loss to explicitly supervise the attention map generation, improving robustness to complex rain patterns.
- The dataset is constructed using 29.5K high-resolution image pairs from diverse natural rain scenes, enabling better generalization of deraining models.
Experimental results
Research questions
- RQ1Can a semi-automatic method combining temporal priors and human supervision generate high-quality clean images from real rain video sequences?
- RQ2Does training deraining models on a large-scale real rain dataset improve performance on real-world rain images compared to synthetic datasets?
- RQ3Can a spatial attentive network effectively model diverse rain streak appearances by learning local and global contextual features in a hierarchical manner?
- RQ4How does the inclusion of attention loss and shared-weight attention modules affect the robustness and performance of deraining networks?
- RQ5Can the proposed dataset serve as a reliable benchmark for quantitative evaluation of deraining methods on real rain images?
Key findings
- The proposed SPANet achieves a PSNR of 38.06 and SSIM of 0.9867 on the real rain test set, outperforming state-of-the-art methods.
- Training existing derainers on the proposed real rain dataset significantly improves their performance on real-world rain images, demonstrating the dataset's value for generalization.
- The ablation study confirms that shared-weight spatial attention modules (B_f) yield the best performance, indicating inter-dependence across spatial blocks enhances feature learning.
- The attention loss supervision is critical, as removing it (B_e) leads to a drop in PSNR from 38.06 to 37.39, showing its role in refining attention maps.
- The failure case in Figure 12 shows that extremely dense, haze-like rain streaks are not well handled, indicating limitations in the current dataset generation method under misty conditions.
- The proposed dataset enables more reliable quantitative evaluation than previous methods, which relied on qualitative comparisons or synthetic benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.