ShadowFormer: Global Context Helps Image Shadow Removal

Lanqing Guo, Siyu Huang, Ding Liu, Hao Cheng, Bihan Wen
2/3/2023
cs.CV

No official code found. Best implementation: GuoLanqing/ShadowFormer (180 stars, MIT, last commit 2023-08-05).

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.

View on arXivView PDF

Code Implementations(1)

MIT

ShadowFormer (AAAI2023), Pytorch implementation

18016MATLAB, PythonNov 20, 20223 years agoMIT
image-processingimage-restorationshadow-removaltransformer-models

Similar Papers

Cite this paper

@article{guo2023shadowformer,
  title  = {ShadowFormer: Global Context Helps Image Shadow Removal},
  author = {Lanqing Guo and Siyu Huang and Ding Liu and Hao Cheng and Bihan Wen},
  year   = {2023},
  eprint = {2302.01650},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.01650v1}
}

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/2302.01650.svg)](https://codeofpaper.com/paper/2302.01650)

Discussion