TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/ShadowFormer: Global Context Helps Image Shadow Removal

ShadowFormer: Global Context Helps Image Shadow Removal

Lanqing Guo, Siyu Huang, Ding Liu, Hao Cheng, Bihan Wen

2023-02-03Shadow RemovalImage Shadow Removal
PaperPDFCode(official)Code

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 150X fewer model parameters.

Results

TaskDatasetMetricValueModel
Image EditingSRDLPIPS0.228ShadowFormer (AAAI 2023) (512x512)
Image EditingSRDPSNR25.6ShadowFormer (AAAI 2023) (512x512)
Image EditingSRDRMSE3.9ShadowFormer (AAAI 2023) (512x512)
Image EditingSRDSSIM0.819ShadowFormer (AAAI 2023) (512x512)
Image EditingSRDLPIPS0.348ShadowFormer (AAAI 2023) (256x256)
Image EditingSRDPSNR24.28ShadowFormer (AAAI 2023) (256x256)
Image EditingSRDRMSE4.44ShadowFormer (AAAI 2023) (256x256)
Image EditingSRDSSIM0.715ShadowFormer (AAAI 2023) (256x256)
Image EditingISTDMAE4.79ShadowFormer
Image EditingISTD+LPIPS0.204ShadowFormer (AAAI 2023) (512x512)
Image EditingISTD+PSNR28.07ShadowFormer (AAAI 2023) (512x512)
Image EditingISTD+RMSE3.06ShadowFormer (AAAI 2023) (512x512)
Image EditingISTD+SSIM0.847ShadowFormer (AAAI 2023) (512x512)
Image EditingISTD+LPIPS0.35ShadowFormer (AAAI 2023) (256x256)
Image EditingISTD+PSNR26.55ShadowFormer (AAAI 2023) (256x256)
Image EditingISTD+RMSE3.45ShadowFormer (AAAI 2023) (256x256)
Image EditingISTD+SSIM0.728ShadowFormer (AAAI 2023) (256x256)
Shadow RemovalSRDLPIPS0.228ShadowFormer (AAAI 2023) (512x512)
Shadow RemovalSRDPSNR25.6ShadowFormer (AAAI 2023) (512x512)
Shadow RemovalSRDRMSE3.9ShadowFormer (AAAI 2023) (512x512)
Shadow RemovalSRDSSIM0.819ShadowFormer (AAAI 2023) (512x512)
Shadow RemovalSRDLPIPS0.348ShadowFormer (AAAI 2023) (256x256)
Shadow RemovalSRDPSNR24.28ShadowFormer (AAAI 2023) (256x256)
Shadow RemovalSRDRMSE4.44ShadowFormer (AAAI 2023) (256x256)
Shadow RemovalSRDSSIM0.715ShadowFormer (AAAI 2023) (256x256)
Shadow RemovalISTDMAE4.79ShadowFormer
Shadow RemovalISTD+LPIPS0.204ShadowFormer (AAAI 2023) (512x512)
Shadow RemovalISTD+PSNR28.07ShadowFormer (AAAI 2023) (512x512)
Shadow RemovalISTD+RMSE3.06ShadowFormer (AAAI 2023) (512x512)
Shadow RemovalISTD+SSIM0.847ShadowFormer (AAAI 2023) (512x512)
Shadow RemovalISTD+LPIPS0.35ShadowFormer (AAAI 2023) (256x256)
Shadow RemovalISTD+PSNR26.55ShadowFormer (AAAI 2023) (256x256)
Shadow RemovalISTD+RMSE3.45ShadowFormer (AAAI 2023) (256x256)
Shadow RemovalISTD+SSIM0.728ShadowFormer (AAAI 2023) (256x256)
16kSRDLPIPS0.228ShadowFormer (AAAI 2023) (512x512)
16kSRDPSNR25.6ShadowFormer (AAAI 2023) (512x512)
16kSRDRMSE3.9ShadowFormer (AAAI 2023) (512x512)
16kSRDSSIM0.819ShadowFormer (AAAI 2023) (512x512)
16kSRDLPIPS0.348ShadowFormer (AAAI 2023) (256x256)
16kSRDPSNR24.28ShadowFormer (AAAI 2023) (256x256)
16kSRDRMSE4.44ShadowFormer (AAAI 2023) (256x256)
16kSRDSSIM0.715ShadowFormer (AAAI 2023) (256x256)
16kISTDMAE4.79ShadowFormer
16kISTD+LPIPS0.204ShadowFormer (AAAI 2023) (512x512)
16kISTD+PSNR28.07ShadowFormer (AAAI 2023) (512x512)
16kISTD+RMSE3.06ShadowFormer (AAAI 2023) (512x512)
16kISTD+SSIM0.847ShadowFormer (AAAI 2023) (512x512)
16kISTD+LPIPS0.35ShadowFormer (AAAI 2023) (256x256)
16kISTD+PSNR26.55ShadowFormer (AAAI 2023) (256x256)
16kISTD+RMSE3.45ShadowFormer (AAAI 2023) (256x256)
16kISTD+SSIM0.728ShadowFormer (AAAI 2023) (256x256)

Related Papers

Image Restoration via Multi-domain Learning2025-05-07Retinex-guided Histogram Transformer for Mask-free Shadow Removal2025-04-18FASR-Net: Unsupervised Shadow Removal Leveraging Inherent Frequency Priors2025-04-08Leveraging Contrast Information for Efficient Document Shadow Removal2025-04-01Prompt-Aware Controllable Shadow Removal2025-01-25Towards Hard and Soft Shadow Removal via Dual-Branch Separation Network and Vision Transformer2025-01-03SoftShadow: Leveraging Soft Masks for Penumbra-Aware Shadow Removal2025-01-01Detail-Preserving Latent Diffusion for Stable Shadow Removal2024-12-23