Removing Out-of-Focus Reflective Flares via Color Alignment
Fengbo Lan, Chang Wen Chen
Abstract
Reflective flares are common artifacts in photography that degrade image quality, introducing in-focus flares, which appear as bright, regular spot patterns, and out-of-focus flares, which are diffuse and semi-transparent, obscuring the underlying scene. While previous methods have achieved some success in removing in-focus flares, they struggle with the diffuse nature of out-of-focus flares. The lack of an out-of-focus flare dataset has further hindered the development of effective flare removal models. In this work, we construct a large-scale out-of-focus flare dataset generated with Blender. We propose to use a color alignment approach on diffusion models to address the challenges of out-of-focus reflective flare removal. Rather than fully reconstructing flare-affected regions, our method adjusts the color distribution to reduce artifact visibility while preserving image content. Specifically, we apply a differentiable histogram loss on the diffusion model, which is derived from the Earth Mover's Distance (EMD), to effectively align color distributions. The proposed approach, trained exclusively on synthetic data, outperforms existing methods on both synthetic and real-world data, demonstrating improved performance in flare removal.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on19
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Directly Denoising Diffusion ModelsDan Zhang, Jingjing Wang, Feng LuoICML 2024 · 11,724 citations
- Uformer: A General U-Shaped Transformer for Image RestorationZhendong Wang, Xiaodong Cun, Jianmin Bao, Wengang Zhou et al.CVPR 2022 · 1,970 citations
- Palette: Image-to-Image Diffusion ModelsChitwan Saharia, William Chan, Huiwen Chang, Chris A. Lee et al.SIGGRAPH 2022 · 1,638 citations
Related papers
- How to Train Neural Networks for Flare RemovalYicheng Wu, Qiurui He, Tianfan Xue, Rahul Garg et al.ICCV 2021 · 97 citations
- Nighttime Smartphone Reflective Flare Removal Using Optical Center Symmetry PriorYuekun Dai, Yihang Luo, Shangchen Zhou, Chongyi Li et al.CVPR 2023
- Language-Guided One-Step Diffusion Model for Nighttime Flare RemovalAoxiang Ning, Kailong Yu, Minglong Xue, Liyuan Pan et al.CVPR 2026
- Light Source Guided Single-Image Flare Removal from Unpaired DataXiaotian Qiao, Gerhard P. Hancke, Rynson W. H. LauICCV 2021 · 52 citations
- Improving Lens Flare Removal with General-Purpose Pipeline and Multiple Light Sources RecoveryYuyan Zhou, Dong Liang, Songcan Chen, Sheng-Jun Huang et al.ICCV 2023 · 35 citations
