Raindrop Clarity: A Dual-Focused Dataset for Day and Night Raindrop Removal

Yeying Jin, Xin Li, Jiadong Wang, Yan Zhang, Malu Zhang

Abstract

Existing raindrop removal datasets have two primary shortcomings: they focus almost exclusively on background-focused images (leading to blurry raindrops) and predominantly feature daytime scenarios. Consequently, algorithms trained on these datasets struggle in raindrop-focused or nighttime conditions. We introduce Raindrop Clarity, a large-scale, real-world dataset comprising 15,186 high-quality image sets (pairs and triplets). The dataset includes 5,442 daytime and 9,744 nighttime images, with a balanced mix of raindrop- and background-focused captures. Raindrop Clarity enables the community to explore the unique optical challenges of all-weather vision, providing the necessary data to bridge the focus and lighting gaps in current research.

Introduction: The Focus and Lighting Gaps

Adherent raindrops—those that stick to a camera lens or windshield—are a significant obstacle for outdoor vision systems. While several datasets have been developed to facilitate "de-raining," current research is constrained by two critical shortcomings:

  1. The Focus Gap: Most existing datasets are captured with the camera focused on the distant background. In these cases, raindrops appear as blurry, translucent blobs. However, in real-world applications, autofocus systems often lock onto the raindrops themselves, resulting in sharp droplets against a physically blurred background. Models trained exclusively on "blurry rain" often fail when the raindrops are sharp and the background information is optically lost.
  2. The Nighttime Gap: The majority of popular datasets are captured during the day. Nighttime rain introduces a different set of optical complexities, including intense glare from artificial lights, high-contrast reflections, and halos. Daytime-trained models are generally ill-equipped to handle these high-dynamic-range artifacts.
Comparison of existing datasets vs. Raindrop Clarity, highlighting the focus and nighttime gaps.

The Raindrop Clarity Dataset

To bridge these gaps, we present Raindrop Clarity, a dataset that is significantly larger and more diverse than its predecessors. For instance, while the widely used Qian et al. benchmark contains only 919 pairs, Raindrop Clarity offers over 15,000 image sets.

  • Daytime (5,442 images): This subset includes 3,606 raindrop-focused and 1,836 background-focused images.
  • Nighttime (9,744 images): This represents the largest collection of nighttime raindrop images to date, featuring 4,838 raindrop-focused and 4,906 background-focused images.
  • Environmental Diversity: The dataset captures a wide range of environments, including urban centers, countryside roads, and campus settings, featuring diverse raindrop sizes, shapes, and densities.

Methodology: Triplet Capture Pipeline

The core innovation of Raindrop Clarity lies in its data collection pipeline. For every scene, the researchers captured a triplet of images to provide comprehensive supervision for machine learning models:

  • $\tilde{x}$ (Raindrop-focused): The camera focuses on the glass plate, capturing sharp raindrops.
  • $x_0$ (Blurry background): The raindrops are removed, but the focus remains on the glass plane, providing a ground truth for the blurry background.
  • $b_0$ (Clear background): The focus is shifted to the distant background, providing the ultimate clear ground truth.
The triplet capture pipeline showing raindrop-focused, blurry background, and clear background images for both day and night.

Key Insights and Benchmarking

The authors benchmarked several state-of-the-art (SOTA) raindrop removal algorithms, including specialized models like IDT (Image De-raining Transformer) and general restoration backbones like Restormer.

  • Dual-Focus Necessity: Results demonstrate that raindrop removal is not merely a denoising task; it is fundamentally a deblurring task. When a camera focuses on rain, the background information is physically blurred by the lens optics, not just obscured.
  • Nighttime Complexity: Nighttime raindrops act as tiny lenses for artificial lights (street lamps, headlights), creating "glare" and "halo" effects. These artifacts are significantly harder to remove than the diffuse shadows seen in daytime rain.
  • Model Performance: While Restormer achieved the best performance on daytime data (PSNR 26.08), all tested models struggled with "long strip" raindrops and failed to fully recover textures in the blurry backgrounds of raindrop-focused images.

Conclusion and Future Work

Raindrop Clarity provides the first comprehensive resource for addressing the dual-focus and nighttime challenges of raindrop removal. The analysis highlights that current models still struggle with the optical complexities of sharp raindrops and artificial light reflections. Future research should focus on developing architectures that can simultaneously handle de-raining and deblurring, as well as expanding the dataset to include dynamic video sequences from moving platforms to account for motion blur.

Data and code are available at: https://github.com/jinyeying/RaindropClarity

Summary updated

Abstract

Existing raindrop removal datasets have two shortcomings. First, they consist of images captured by cameras with a focus on the background, leading to the presence of blurry raindrops. To our knowledge, none of these datasets include images where the focus is specifically on raindrops, which results in a blurry background. Second, these datasets predominantly consist of daytime images, thereby lacking nighttime raindrop scenarios. Consequently, algorithms trained on these datasets may struggle to perform effectively in raindrop-focused or nighttime scenarios. The absence of datasets specifically designed for raindrop-focused and nighttime raindrops constrains research in this area. In this paper, we introduce a large-scale, real-world raindrop removal dataset called Raindrop Clarity. Raindrop Clarity comprises 15,186 high-quality pairs/triplets (raindrops, blur, and background) of images with raindrops and the corresponding clear background images. There are 5,442 daytime raindrop images and 9,744 nighttime raindrop images. Specifically, the 5,442 daytime images include 3,606 raindrop- and 1,836 background-focused images. While the 9,744 nighttime images contain 4,834 raindrop- and 4,906 background-focused images. Our dataset will enable the community to explore background-focused and raindrop-focused images, including challenges unique to daytime and nighttime conditions (Our data and code are available at: https://github.com/jinyeying/RaindropClarity).
BibTeX
@inproceedings{jin2024raindrop,
  author = {Yeying Jin and Xin Li and Jiadong Wang and Yan Zhang and Malu Zhang},
  title = {{Raindrop Clarity: A Dual-Focused Dataset for Day and Night Raindrop Removal}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72658-3\_1},
}
Figure