ShadowFormer: Global Context Helps Shadow Removal
Abstract
Recent deep learning methods have achieved promising results in image shadow removal. However, most of the existing approaches focus on working locally within shadow and non-shadow regions, resulting in severe artifacts around the shadow boundaries as well as inconsistent illumination between shadow and non-shadow regions. It is still challenging for the deep shadow removal model to exploit the global contextual correlation between shadow and non-shadow regions. In this work, we first propose a Retinex-based shadow model, from which we derive a novel transformer-based network, dubbed ShandowFormer, to exploit non-shadow regions to help shadow region restoration. A multi-scale channel attention framework is employed to hierarchically capture the global information. Based on that, we propose a Shadow-Interaction Module (SIM) with Shadow-Interaction Attention (SIA) in the bottleneck stage to effectively model the context correlation between shadow and non-shadow regions. We conduct extensive experiments on three popular public datasets, including ISTD, ISTD+, and SRD, to evaluate the proposed method. Our method achieves state-of-the-art performance by using up to 150× fewer model parameters. Code is available at: https://github.com/GuoLanqing/ShadowFormer .
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.
15 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
- Uformer: A General U-Shaped Transformer for Image Restoration cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Uformer: A General U-Shaped Transformer for Image Restoration cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- Resfusion: Denoising Diffusion Probabilistic Models for Image Restoration Based on Prior Residual Noise cites Shadow Removal via Shadow Image Decomposition
- Resfusion: Denoising Diffusion Probabilistic Models for Image Restoration Based on Prior Residual Noise cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- DenseSR: Image Shadow Removal as Dense Prediction cites Uformer: A General U-Shaped Transformer for Image Restoration
- DenseSR: Image Shadow Removal as Dense Prediction cites Shadow Removal via Shadow Image Decomposition
- DenseSR: Image Shadow Removal as Dense Prediction cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- DenseSR: Image Shadow Removal as Dense Prediction cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- UniSER: A Foundation Model for Unified Soft Effects Removal cites DenseSR: Image Shadow Removal as Dense Prediction
- UniSER: A Foundation Model for Unified Soft Effects Removal cites Shadow Removal via Shadow Image Decomposition
- Diff-Shadow: Global-guided Diffusion Model for Shadow Removal cites Shadow Removal via Shadow Image Decomposition
- Diff-Shadow: Global-guided Diffusion Model for Shadow Removal cites Towards Ghost-Free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
- JoReS-Diff: Joint Retinex and Semantic Priors in Diffusion Model for Low-light Image Enhancement cites Uformer: A General U-Shaped Transformer for Image Restoration
Cited by top-tier papers15
- Resfusion: Denoising Diffusion Probabilistic Models for Image Restoration Based on Prior Residual NoiseZhenning Shi, Haoshuai Zheng, Chen Xu, Changsheng Dong et al.NeurIPS 2024 · 55 citations
- Diff-Shadow: Global-guided Diffusion Model for Shadow RemovalJinting Luo, Ru Li, Chengzhi Jiang, Xiaoming Zhang et al.AAAI 2025 · 15 citations
- JoReS-Diff: Joint Retinex and Semantic Priors in Diffusion Model for Low-light Image EnhancementYuhui Wu, Guoqing Wang, Zhiwen Wang, Yang Yang et al.ACM MM 2024 · 6 citations
- UniSER: A Foundation Model for Unified Soft Effects RemovalJingdong Zhang, Lingzhi Zhang, Qing Liu, Mang Tik Chiu et al.CVPR 2026 · 5 citations
- DenseSR: Image Shadow Removal as Dense PredictionYu-Fan Lin, Chia-Ming Lee, Chih-Chung HsuACM MM 2025 · 4 citations
Builds on11
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- Uformer: A General U-Shaped Transformer for Image RestorationZhendong Wang, Xiaodong Cun, Jianmin Bao, Wengang Zhou et al.CVPR 2022 · 1,970 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
Related papers
- HomoFormer: Homogenized Transformer for Image Shadow RemovalJie Xiao, Xueyang Fu, Yurui Zhu, Dong Li et al.CVPR 2024
- Regional Attention For Shadow RemovalHengxing Liu, Mingjia Li, Xiaojie GuoACM MM 2024 · 10 citations
- ShadowDiffusion: When Degradation Prior Meets Diffusion Model for Shadow RemovalLanqing Guo, Chong Wang, Wenhan Yang, Siyu Huang et al.CVPR 2023
- Recasting Regional Lighting for Shadow RemovalYuhao Liu, Zhanghan Ke, Ke Xu, Fang Liu et al.AAAI 2024 · 30 citations
- 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
