Removing Reflections from RAW Photos
Eric Kee, Adam Pikielny, Kevin Blackburn-Matzen, Marc Levoy
TL;DR
This work tackles real-world reflection removal in consumer photography by focusing on RAW images and introducing a photometrically and geometrically accurate synthetic data pipeline. A two-stage system, consisting of a 256^2 base model and a fast upsampler, operates on linear RAW data and optionally uses a contextual photo to disambiguate reflections, delivering full-resolution results suitable for editing. Training exclusively on simulated RAW data yields strong generalization to real images, outperforming prior methods even when those methods are retrained on RAW data; the contextual cue further improves separation quality, and the upsampling strategy minimizes artifacts compared to existing approaches. The approach enables on-device previews in seconds and provides separate transmission and reflection components to support user edits, marking a practical advance for photo editing pipelines and privacy-preserving dereflection.
Abstract
We describe a system to remove real-world reflections from images for consumer photography. Our system operates on linear (RAW) photos, and accepts an optional contextual photo looking in the opposite direction (e.g., the "selfie" camera on a mobile device). This optional photo disambiguates what should be considered the reflection. The system is trained solely on synthetic mixtures of real RAW photos, which we combine using a reflection simulation that is photometrically and geometrically accurate. Our system comprises a base model that accepts the captured photo and optional context photo as input, and runs at 256p, followed by an up-sampling model that transforms 256p images to full resolution. The system produces preview images at 1K in 4.5-6.5s on a MacBook or iPhone 14 Pro. We show SOTA results on RAW photos that were captured in the field to embody typical consumer photos, and show that training on RAW simulation data improves performance more than the architectural variations among prior works.
