Leveraging Inpainting for Single-Image Shadow Removal
Xiaoguang Li, Qing Guo, Rabab Abdelfattah, Di Lin, Wei Feng, Ivor W. Tsang, Song Wang
Abstract
Fully-supervised shadow removal methods achieve the best restoration qualities on public datasets but still generate some shadow remnants. One of the reasons is the lack of large-scale shadow & shadow-free image pairs. Unsupervised methods can alleviate the issue but their restoration qualities are much lower than those of fully-supervised methods. In this work, we find that pretraining shadow removal networks on the image inpainting dataset can reduce the shadow remnants significantly: a naive encoder-decoder network gets competitive restoration quality w.r.t. the state-of-the-art methods via only 10% shadow & shadow-free image pairs. After analyzing networks with/without inpainting pretraining via the information stored in the weight (IIW), we find that inpainting pretraining improves restoration quality in non-shadow regions and enhances the generalization ability of networks significantly. Additionally, shadow removal fine-tuning enables networks to fill in the details of shadow regions. Inspired by these observations we formulate shadow removal as an adaptive fusion task that takes advantage of both shadow removal and image inpainting. Specifically, we develop an adaptive fusion network consisting of two encoders, an adaptive fusion block, and a decoder. The two encoders are responsible for extracting the features from the shadow image and the shadow-masked image respectively. The adaptive fusion block is responsible for combining these features in an adaptive manner. Finally, the decoder converts the adaptive fused features to the desired shadow-free result. The extensive experiments show that our method empowered with inpainting outperforms all state-of-the-art methods. We have realized codes and models in https://github.com/tsingqguo/inpaint4shadow
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network cites Shadow Removal via Shadow Image Decomposition
- DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
- DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- Polarization Guided Mask-Free Shadow Removal cites Shadow Removal via Shadow Image Decomposition
- Polarization Guided Mask-Free Shadow Removal cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
- Polarization Guided Mask-Free Shadow Removal cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- Regional Attention For Shadow Removal cites DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network
- Regional Attention For Shadow Removal cites Shadow Removal via Shadow Image Decomposition
- Regional Attention For Shadow Removal cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
- Regional Attention For Shadow Removal cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- When Shadow Removal Meets Intrinsic Image Decomposition: A Joint Learning Framework Using Unpaired Data cites DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network
- When Shadow Removal Meets Intrinsic Image Decomposition: A Joint Learning Framework Using Unpaired Data cites Shadow Removal via Shadow Image Decomposition
- When Shadow Removal Meets Intrinsic Image Decomposition: A Joint Learning Framework Using Unpaired Data cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
- When Shadow Removal Meets Intrinsic Image Decomposition: A Joint Learning Framework Using Unpaired Data cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- OmniSR: Shadow Removal Under Direct and Indirect Lighting cites DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network
- OmniSR: Shadow Removal Under Direct and Indirect Lighting cites Shadow Removal via Shadow Image Decomposition
- OmniSR: Shadow Removal Under Direct and Indirect Lighting cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
- OmniSR: Shadow Removal Under Direct and Indirect Lighting cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow Detection cites DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network
- Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow Detection cites Shadow Removal via Shadow Image Decomposition
- Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow Detection cites OmniSR: Shadow Removal Under Direct and Indirect Lighting
- Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow Detection cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
- Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow Detection cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
Cited by top-tier papers10
- OmniSR: Shadow Removal Under Direct and Indirect LightingJiamin Xu, Zelong Li, Yuxin Zheng, Chenyu Huang et al.AAAI 2025 · 18 citations
- Regional Attention For Shadow RemovalHengxing Liu, Mingjia Li, Xiaojie GuoACM MM 2024 · 10 citations
- Polarization Guided Mask-Free Shadow RemovalChu Zhou, Chao Xu, Boxin ShiAAAI 2025 · 4 citations
- When Shadow Removal Meets Intrinsic Image Decomposition: A Joint Learning Framework Using Unpaired DataRongjia Zheng, Qing Zhang, Yongwei Nie, Wei-Shi ZhengAAAI 2025 · 2 citations
- Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow DetectionXiaotian Qiao, Ke Xu, Xianglong Yang, Ruijie Dong et al.NeurIPS 2025 · 1 citation
Builds on16
- SimMIM: a Simple Framework for Masked Image ModelingZhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin et al.CVPR 2022 · 1,129 citations
- Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GANXiaodong Cun, Chi-Man Pun, Cheng ShiAAAI 2020 · 272 citations
- Mask-ShadowGAN: Learning to Remove Shadows From Unpaired DataXiaowei Hu, Yitong Jiang, Chi-Wing Fu, Pheng-Ann HengICCV 2019 · 255 citations
- Shadow Removal via Shadow Image DecompositionHieu Le, Dimitris SamarasICCV 2019 · 229 citations
- DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided NetworkYeying Jin, Aashish Sharma, Robby T. TanICCV 2021 · 163 citations
Related papers
- Auto-Exposure Fusion for Single-Image Shadow RemovalLan Fu, Changqing Zhou, Qing Guo, Felix Juefei-Xu et al.CVPR 2021
- 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
- From Shadow Generation To Shadow RemovalZhihao Liu, Hui Yin, Xinyi Wu, Zhenyao Wu et al.CVPR 2021
- Bridging Knowledge Gap Between Image Inpainting and Large-Area Visible Watermark RemovalYicheng Leng, Chaowei Fang, Junye Chen, Yixiang Fang et al.AAAI 2025 · 3 citations
- CANet: A Context-Aware Network for Shadow RemovalZipei Chen, Chengjiang Long, Ling Zhang, Chunxia XiaoICCV 2021 · 118 citations
