Abstract
Removing unwanted reflections from photographs taken through glass remains a challenging ill-posed problem in computer vision. While flash/no-flash image pairs provide strong physical cues for layer separation, real-world handheld captures often suffer from misalignment that standard algorithms cannot resolve. We present Flash-Split, a robust framework that performs reflection separation in a compressed latent space using a dual-branch diffusion model. This approach provides inherent robustness to spatial shifts, enabling high-quality transmission and reflection recovery from standard handheld shots without the need for perfect pixel alignment.
Introduction
Capturing clear images through windows often results in superimposed reflections that obscure the intended subject. This classic problem involves separating a single image into transmission (the scene behind the glass) and reflection (the scene in front) layers. A promising hardware-assisted approach uses a flash/no-flash image pair: the flash significantly illuminates the transmitted scene while leaving distant reflections largely unchanged. However, the effectiveness of this technique is traditionally limited by the requirement for perfect pixel alignment. In handheld photography, tiny hand tremors cause misalignment artifacts that ruin simple subtraction methods.
Methodology
Flash-Split addresses the misalignment challenge through a two-stage pipeline that leverages the spatial robustness of latent representations.
Stage 1: Iterative Latent Diffusion Separation
The system encodes the flash/no-flash pair into a low-dimensional latent space using a Variational Autoencoder (VAE). Separation is then performed by a dual-branch UNet-based Diffusion Model. By operating in latent space, the model focuses on high-level semantic features rather than exact pixel coordinates, making it naturally resilient to the small spatial shifts caused by camera shake. Cross-attention mechanisms between the transmission and reflection branches allow the model to use flash-induced brightness changes as a strong physical prior to distinguish between layers.
Stage 2: Cross-Latent Decoding
To recover high-frequency details lost during latent compression, a specialized decoder incorporates skip connections from the original high-resolution input images. The separated latents act as a guide, ensuring that the final output remains free of reflections while regaining sharpness and texture that might otherwise be hallucinated by the diffusion process.
Experiments and Results
The model was evaluated on synthetic benchmarks and real-world "in-the-wild" handheld captures. Flash-Split demonstrates significant improvements over both software-only and previous flash-based methods.
Quantitatively, Flash-Split achieved a PSNR of 32.06 on standard benchmarks, a substantial increase over the previous state-of-the-art flash-based method (28.60) and software-only methods (approx. 25-26). Qualitatively, the method effectively eliminates ghosting and artifacts that plague traditional alignment-dependent subtraction techniques. Notably, the framework remains effective on standard tonemapped JPEGs, increasing its utility for consumer mobile photography compared to methods requiring RAW data.
Conclusion
Flash-Split successfully tames the reflection removal problem by combining physical flash priors with the spatial robustness of latent diffusion. By shifting the problem from pixel-level alignment to latent-space separation, the framework enables high-quality results from practical, handheld captures. Future work may extend this latent separation strategy to other multi-image tasks where alignment is a bottleneck, such as high-dynamic-range (HDR) imaging and low-light enhancement.
Summary updated