Learning Latent Transmission and Glare Maps for Lens Veiling Glare Removal

Xiaolong Qian, Qi Jiang, Lei Sun, Zongxi Yu, Kailun Yang +6 more
11/21/2025
eess.IVcs.CVphysics.optics

Official code: XiaolongQian/DeVeiler (22 stars, last commit 2026-05-03).

Abstract

Beyond the commonly recognized optical aberrations, the imaging performance of simplified optical systems--including single-lens and metalens designs--is often further degraded by veiling glare caused by stray-light scattering from non-ideal optical surfaces and coatings, particularly in complex real-world environments. This compound degradation undermines traditional lens aberration correction yet remains underexplored. A major challenge is that conventional scattering models (e.g., for dehazing) fail to fit veiling glare due to its spatial-varying and depth-independent nature. Consequently, paired high-quality data are difficult to prepare via simulation, hindering application of data-driven veiling glare removal models. To this end, we propose VeilGen, a generative model that learns to simulate veiling glare by estimating its underlying optical transmission and glare maps in an unsupervised manner from target images, regularized by Stable Diffusion (SD)-based priors. VeilGen enables paired dataset generation with realistic compound degradation of optical aberrations and veiling glare, while also providing the estimated latent optical transmission and glare maps to guide the veiling glare removal process. We further introduce DeVeiler, a restoration network trained with a reversibility constraint, which utilizes the predicted latent maps to guide an inverse process of the learned scattering model. Extensive experiments on challenging simplified optical systems demonstrate that our approach delivers superior restoration quality and physical fidelity compared with existing methods. These suggest that VeilGen reliably synthesizes realistic veiling glare, and its learned latent maps effectively guide the restoration process in DeVeiler. All code and datasets will be publicly released at https://github.com/XiaolongQian/DeVeiler.

View on arXivView PDF

Code Implementations(1)

[CVPR 2026] pytorch implementation for 'Learning Latent Transmission and Glare Maps for Lens Veiling Glare Removal'

222Nov 22, 20255 months ago

Similar Papers

Cite this paper

@article{qian2025learning,
  title  = {Learning Latent Transmission and Glare Maps for Lens Veiling Glare Removal},
  author = {Xiaolong Qian and Qi Jiang and Lei Sun and Zongxi Yu and Kailun Yang and Peixuan Wu and Jiacheng Zhou and Yao Gao and Yaoguang Ma and Ming-Hsuan Yang and Kaiwei Wang},
  year   = {2025},
  eprint = {2511.17353},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.17353v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.17353.svg)](https://codeofpaper.com/paper/2511.17353)

Discussion