Structure-Guided Diffusion Models for High-Fidelity Portrait Shadow Removal
Wanchang Yu, Qing Zhang, Rongjia Zheng, Wei-Shi Zheng
Abstract
We present a diffusion-based portrait shadow removal approach that can robustly produce high-fidelity results. Unlike previous methods, we cast shadow removal as diffusion-based inpainting. To this end, we first train a shadow-independent structure extraction network on a real-world portrait dataset with various synthetic lighting conditions, which allows to generate a shadow-independent structure map including facial details while excluding the unwanted shadow boundaries. The structure map is then used as condition to train a structure-guided inpainting diffusion model for removing shadows in a generative manner. Finally, to restore the fine-scale details (e.g., eyelashes, moles and spots) that may not be captured by the structure map, we take the gradients inside the shadow regions as guidance and train a detail restoration diffusion model to refine the shadow removal result. Extensive experiments on the benchmark datasets show that our method clearly outperforms existing methods, and is effective to avoid previously common issues such as facial identity tampering, shadow residual, color distortion, structure blurring, and loss of details. Our code is available at https://github.com/wanchang-yu/Structure-Guided-Diffusion-for-Portrait-Shadow-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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d0963b30-a991-4227-986d-1ef96e57534fCited by top-tier papers1
Ask how each one uses itBuilds on34
- 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
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
- Palette: Image-to-Image Diffusion ModelsChitwan Saharia, William Chan, Huiwen Chang, Chris A. Lee et al.SIGGRAPH 2022 · 1,638 citations
Related papers
- Boundary-Aware Divide and Conquer: A Diffusion-based Solution for Unsupervised Shadow RemovalLanqing Guo, Chong Wang, Wenhan Yang, Yufei Wang et al.ICCV 2023 · 29 citations
- Unsupervised Portrait Shadow Removal via Generative PriorsYingqing He, Yazhou Xing, Tianjia Zhang, Qifeng ChenACM MM 2021 · 26 citations
- Parametric Shadow Control for Portrait Generation in Text-to-Image Diffusion ModelsHaoming Cai, Tsung-Wei Huang, Shiv Gehlot, Brandon Y. Feng et al.ICCV 2025 · 2 citations
- Diff-Shadow: Global-guided Diffusion Model for Shadow RemovalJinting Luo, Ru Li, Chengzhi Jiang, Xiaoming Zhang et al.AAAI 2025 · 15 citations
- PHR-DIFF: Portrait Highlights Removal via Patch-aware Diffusion ModelHongsheng Zheng, Zhongyun Bao, Gang Fu, Xuze Jiao et al.AAAI 2025 · 4 citations
