Abstract
Single Image Deraining (SID) relies heavily on paired data, yet capturing perfectly aligned real-world rainy and clean image pairs is a significant challenge. Existing datasets often suffer from spatial misalignment, low resolution, and limited scene variety. This paper presents RealRain-1k, a high-resolution dataset of 1,120 real-world pairs, and SynRain-13k, a synthetic dataset built from real rain layers. Our comprehensive benchmark reveals that while modern models perform well on synthetic data, a substantial "domain gap" remains when faced with real-world complexity. We evaluate state-of-the-art models, highlighting the importance of real rain textures for generalization and the trade-offs between restoration quality and computational efficiency.
The Challenge of Real-World Deraining
Single Image Deraining (SID) aims to remove rain streaks from a single image to restore the clean background. While deep learning has pushed the field forward, it relies heavily on paired data (rainy image + ground truth clean image). In the real world, obtaining these pairs is nearly impossible because one cannot capture the exact same scene with and without rain simultaneously.
Previous attempts to solve this used "sprinklers" to simulate rain or low-resolution video filtering. However, these datasets suffered from several critical flaws:
- Spatial Misalignment: Small movements between the rainy and clean frames.
- Homogeneity: Rain streaks that look identical across all images.
- Low Resolution: Often limited to 256x256 patches.
- Limited Backgrounds: Lack of variety in the captured scenes.
Methodology: Density-Controllable Filtering
To address these gaps, the authors developed a "rain density-controllable filtering" pipeline to generate high-quality data from 1,120 high-resolution rainy videos.
As shown in the pipeline above, the process involves two main steps:
- Clean Background Generation: A median filter is applied across video frames. Since rain streaks are transient, the median value of a pixel over time effectively recovers the clean background.
- Rainy Image Generation: A maximum filter is applied over a specific number of frames. Because rain streaks are brighter than the background, this process "collects" the streaks. By varying the number of frames used, the authors can create "Light" (RealRain-1k-L) and "Heavy" (RealRain-1k-H) rain versions.
Additionally, the authors created SynRain-13k by extracting 440 real rain layers and mathematically pasting them onto 13,000 diverse natural images. This creates a synthetic dataset that utilizes real rain physics rather than simulated computer graphics.
Benchmarking and Datasets
The study introduces RealRain-1k, which consists of 1,120 triplets (clean, light rain, heavy rain) at an average resolution of 1512×973. It features diverse scenes, including day/night and urban/nature environments, with strict spatial alignment.
When compared to existing real-world datasets like SPA-data and RainDS, RealRain-1k provides higher resolution and more realistic rain textures. The benchmark testing revealed that models trained on SynRain-13k (using real rain layers) generalized much better to other real datasets than those trained on purely synthetic rain (like Rain13k). This suggests that the texture of real rain is more critical for training than the sheer quantity of data.
Key Results and Insights
- Top Performance: HINet achieved the highest scores on RealRain-1k, reaching 40.82 dB PSNR on the heavy rain track. While Transformer-based models like Restormer show excellent generalization, heavy-duty CNNs still lead in raw restoration quality.
- The Density Gap: A significant "rain density gap" exists; models trained on light rain struggle with heavy rain, and vice versa. This remains a major hurdle for deployment in unpredictable weather.
- Efficiency vs. Quality: The benchmark highlighted a massive disparity in speed. While DDN (a lightweight model) takes only 24ms per image, the high-performing MPRNet takes nearly 3 seconds, making it impractical for real-time applications like autonomous driving.
Conclusion and Future Work
While RealRain-1k provides a high-quality foundation, challenges remain. Future work should focus on scaling the dataset to include more diverse videos and a more continuous spectrum of rain densities. Furthermore, deraining under complex artificial lighting in night scenes (which make up nearly 48% of the dataset) remains a distinct and difficult challenge. The authors call for more research into the "Pareto front"—finding the optimal balance between deraining performance and model complexity for real-world deployment.
Summary updated