Regional decay attention for image shadow removal

Document Type

Article

Publication Date

1-1-2026

Abstract

Existing Transformer-based shadow removal methods are limited by fixed window sizes, making it difficult to effectively model global information. In addition, they do not fully utilize the distance prior in shadow images. This study argues that shadow removal should model brightness variations between regions from a global perspective. Non-shadow areas near the shadow boundaries are the most important for restoring brightness in shadow regions, and their importance gradually decreases as the distance increases. To achieve this, a regional decay attention mechanism is proposed, which introduces a positional decay bias into the self-attention computation to enable dynamic modeling of contributions from different spatial positions. A local perception module is introduced to improve the model's ability to capture local details, and a shadow removal model named FW-Former is developed. This model achieves superior performance across multiple datasets, demonstrates stable generalization capability, and maintains a low parameter count.

Keywords

Image shadow removal, Position bias, Spatial decay, Transformer

Publication Title

Journal of Visual Communication and Image Representation

ISSN

10473203

DOI

10.1016/j.jvcir.2025.104694

Volume

115

Share

COinS