Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

How to Train Neural Networks for Flare Removal

About

When a camera is pointed at a strong light source, the resulting photograph may contain lens flare artifacts. Flares appear in a wide variety of patterns (halos, streaks, color bleeding, haze, etc.) and this diversity in appearance makes flare removal challenging. Existing analytical solutions make strong assumptions about the artifact's geometry or brightness, and therefore only work well on a small subset of flares. Machine learning techniques have shown success in removing other types of artifacts, like reflections, but have not been widely applied to flare removal due to the lack of training data. To solve this problem, we explicitly model the optical causes of flare either empirically or using wave optics, and generate semi-synthetic pairs of flare-corrupted and clean images. This enables us to train neural networks to remove lens flare for the first time. Experiments show our data synthesis approach is critical for accurate flare removal, and that models trained with our technique generalize well to real lens flares across different scenes, lighting conditions, and cameras.

Yicheng Wu, Qiurui He, Tianfan Xue, Rahul Garg, Jiawen Chen, Ashok Veeraraghavan, Jonathan T. Barron• 2020

Related benchmarks

TaskDatasetResultRank
Artifact SuppressionReal-world Automotive Sequences Sun and Zurich City
Δ SAS (%)87.62
54
Artifact RemovalSynthetic Artifacts Cityscapes-based
MS-SSIM97.8
30
Nighttime Flare RemovalFlare7K++ (test)
PSNR24.613
16
Nighttime Flare RemovalFlare7K++ Real Images
PSNR24.613
10
Nighttime Flare RemovalFlare7K++ Synthetic Images
PSNR28.26
9
Flare RestorationFlare7K real
PSNR24.613
8
Inference Speed Analysis100-frame sample (test)
CPU Latency (s)2.3
6
Nighttime Reflective Flare RemovalSynthetic (test)
PSNR26.13
6
Nighttime Flare RemovalFlareX (test)
PSNR19.496
5
Flare RemovalReal-world mobile phone photos Indoor 1.0 (test)
Preference Rate3.5
5
Showing 10 of 13 rows

Other info

Follow for update