Abstract
Removing unwanted reflections from photos taken through glass is a long-standing challenge in computational photography. Traditional methods rely on visual priors that often fail in complex, real-world scenarios. This paper presents a robust solution leveraging a "flash-only" cue. By subtracting an ambient image from a flash image in linear raw space, the authors generate a physically reflection-free guide. This guide informs a two-stage neural network that separates reflection from transmission, outperforming previous state-of-the-art methods by over 5dB in PSNR.
Introduction
Capturing a clear image through a window often results in reflections that obscure the intended subject. This is an "ill-posed" problem because the captured image is a superposition of the background (transmission) and the reflected scene. Distinguishing between these two natural images is difficult, especially when reflections are sharp or bright. While existing solutions use assumptions like reflection blurriness or ghosting, these priors frequently break down in practice. The authors propose a physics-based approach that does not rely on the appearance of the reflection itself.
The Reflection-free Flash-only Cue
The core innovation is the use of a flash-only image ($I_{fo}$) as a structural guide. The physics behind this is straightforward: a flash acts as a point source near the camera. According to the inverse square law, its intensity drops rapidly with distance. Consequently, the flash illuminates nearby objects behind the glass (the transmission layer) but fails to reach the typically distant objects in the reflected scene.
Crucially, this subtraction must occur in linear raw space. In standard sRGB images, non-linear processing like gamma correction destroys the additive relationship between light sources, rendering the cue ineffective. While the resulting $I_{fo}$ is reflection-free, it is not a perfect final image due to potential flash artifacts like harsh shadows or illuminated dust.
Methodology
To utilize the flash-only cue without introducing artifacts, the authors designed a two-stage pipeline:
- Reflection-pass Network ($g_R$): This network estimates the reflection component using the ambient image and a grayscale version of the flash-only image. Using grayscale prevents the transfer of flash-related color distortions.
- Reflection-guided Transmission Network ($g_T$): This stage reconstructs the final clean transmission image using the original ambient image and the estimated reflection. By using the flash-only image only as a guide for reflection estimation, the final output maintains natural ambient lighting.
Datasets and Results
The researchers curated the first dataset containing both raw and RGB data for flash-based reflection removal, comprising 157 real-world sets and nearly 2,000 synthetic images.
Quantitatively, the model achieved a PSNR of 29.76 on real-world tests, a significant improvement over the previous state-of-the-art (24.53). Qualitatively, the method excels at removing sharp, strong reflections that typically leave residuals in other models, all while preserving the natural texture and color of the background.
Conclusion and Future Work
This work demonstrates that physics-based cues, when processed in the correct data space, can significantly simplify complex computer vision tasks. While highly effective, the method is limited by the flash's range and the requirement for two perfectly aligned shots. Future research may focus on extending these cues to video or improving robustness against motion blur in handheld photography.
Summary updated