Abstract
Raindrops on windshields significantly degrade the performance of computer vision algorithms in autonomous driving by introducing refractive distortions and out-of-focus blur. This paper presents a physics-based approach to detect and mask these artifacts using a monocular camera. By modeling raindrops as spherical refractive lenses and accounting for camera-specific blur, the proposed RIGSEC (Raindrop Intelligent Geometric Scanner and Environment Constructor) framework enables robust image registration and visual restoration in adverse weather conditions.
Introduction
Most computer vision algorithms are designed under the assumption of clear visibility. In real-world driving scenarios, however, rain frequently compromises sensor data. Raindrops on a windshield act as small, complex lenses that refract light from the environment, creating "mismatched features" that move with the camera rather than the scene. This breaks standard image registration algorithms used for motion estimation and mapping. This research seeks a monocular solution to identify and mitigate these effects in dynamic environments.
Methodology
The core of the proposed approach is the RIGSEC framework, which integrates physics-based modeling with a multi-stage detection pipeline.
Photometric and Geometric Modeling
Instead of treating raindrops as arbitrary noise, the authors model them as spherical sections. Using Snell’s Law, the system calculates how light rays from the environment refract through the water-glass interface to reach the camera sensor. This deterministic model accounts for the refractive index of water ($n_{water}$) and glass ($n_{glass}$), as well as Fresnel’s reflectivity coefficients to distinguish between reflected and transmitted light.
Furthermore, because automotive cameras are typically focused on the distant horizon, raindrops on the windshield appear naturally blurred. The authors utilize a disc kernel model to predict this "unsharpness" based on the camera's aperture and the distance to the glass.
The Detection and Verification Pipeline
The detection process begins with an initialization phase using a Difference of Gaussians (DoG) bandpass filter to isolate blurred regions matching the expected spatial frequencies of raindrops. To minimize false positives, a verification step is employed. For each candidate region, the system "renders" an artificial raindrop template based on the surrounding background and compares it to the actual image using intensity-based correlation.
Results and Discussion
The method was evaluated on a rural sequence of 302 monochrome frames. The combined detection approach significantly outperformed standard feature detectors like SURF, achieving a precision of 0.8 at a recall of 0.67.
Crucially, the study demonstrated that masking detected raindrops stabilizes image registration. Without detection, translational and rotational errors increased sharply with rain density. With masking, error rates remained low, nearly matching the performance of ground-truth manual masking. Finally, the authors demonstrated visual restoration by using multi-band blending (Laplacian pyramids) to fill masked regions with clear pixels from adjacent video frames.
Conclusion
This work provides a robust physics-based framework for handling raindrop interference in monocular video. While the current model assumes spherical drop shapes and faces challenges near the vanishing point, it proves that treating raindrops as deterministic optical elements—rather than random noise—allows for significantly improved navigation and image clarity in adverse weather.
Summary updated