Abstract
Windshield reflections significantly degrade the quality of in-vehicle "black box" or dashcam videos, complicating both automated analysis and human viewing. This paper presents a robust, automated method for reflection removal that exploits the spatio-temporal coherence inherent in forward-moving vehicles. By utilizing an "average image prior"—where the static reflection remains sharp while the dynamic background blurs—and incorporating geometric priors based on the scene's vanishing point, the proposed algorithm achieves high-quality layer separation. Experimental results demonstrate that the method significantly outperforms existing techniques in both accuracy and computational efficiency, processing standard-definition video in approximately two seconds.
Introduction
Dashboard cameras, or "black boxes," are essential for accident documentation and driver assistance systems. However, these cameras frequently capture distracting reflections of the vehicle's interior on the windshield. In computer vision, this is categorized as a layer separation problem, where the recorded image is a mixture of the background scene (the road) and a reflection layer (the car interior).
Existing reflection removal methods often struggle with the high-volume, high-speed nature of dashcam data, requiring manual intervention or specialized hardware. This research introduces an automated, fast solution specifically tailored for the "forward-motion" context of driving, avoiding the need for complex optical flow calculations that often fail at high speeds.
Proposed Method
The core of the approach is the observation of spatio-temporal coherence. When a vehicle moves forward, the background scene shifts according to perspective, while the reflection of the car's interior remains stationary relative to the camera.
1. The Average Image Prior ($\bar{I}$)
By averaging consecutive frames, the moving background becomes blurred, while the static reflection remains sharp. This "average image" provides a strong initial estimate for the reflection layer.
2. Angular Region Division and Optimization
The algorithm detects the video's vanishing point and divides the image into angular slices. Different statistical models (Hyper-Laplacian distributions) are applied to each slice based on gradient density—for instance, treating the smooth sky differently from the textured road.
3. Computational Efficiency
To achieve near-real-time performance, the authors employ half-quadratic splitting and pre-calculated Look-Up Tables (LUTs). This allows the system to solve the non-convex optimization problem rapidly using Fast Fourier Transforms (FFT), moving processing times from minutes to seconds.
Experimental Results
The method was evaluated using both real-world dashcam footage and synthetic benchmarks created from the CamVid database.
- Accuracy: On synthetic tests, the proposed method achieved a Root-Mean-Square Error (RMSE) of approximately 28.8, a substantial improvement over competing methods (such as Yu & Brown) which scored above 51.0.
- Visual Quality: Qualitative analysis shows cleaner background scenes with minimal ghosting artifacts and preserved color consistency.
- Speed: The algorithm processed a 512x288 video in roughly 2 seconds, compared to the 2-7 minutes required by previous state-of-the-art techniques.
Conclusion and Future Work
The proposed system offers a practical solution for cleaning dashcam videos by leveraging the geometric and temporal constraints of driving. While highly effective for static reflections, the method's performance may degrade if objects on the dashboard move or if reflections become saturated (pure white). Future work will explore incorporating advanced image warping to handle non-linear vehicle motion and hole-filling techniques for saturated regions.
Summary updated