ShadowMamba: State-space model with boundary-region selective scan for shadow removal
Document Type
Article
Publication Date
2-1-2026
Abstract
Image shadow removal is a typical low-level vision task, as shadows introduce abrupt local brightness variations that degrade the performance of downstream tasks. Due to the quadratic complexity of Transformers, many existing methods adopt local attention to balance accuracy and efficiency. However, restricting attention to local windows prevents true long-range dependency modeling and limits shadow removal performance. Recently, Mamba has shown strong ability in vision tasks by achieving global modeling with linear complexity. Despite this advantage, existing scanning mechanisms in the Mamba architecture are not suitable for shadow removal because they ignore the semantic continuity within the same region. To address this, a boundary-region selective scanning mechanism is proposed that captures local details while enhancing continuity among semantically related pixels, effectively improving shadow removal performance. In addition, a shadow mask denoising preprocessing method is introduced to improve the accuracy of the scanning mechanism and further enhance the data quality. Based on this, this paper presents ShadowMamba, the first Mamba-based model for shadow removal. Experimental results show that the proposed method outperforms existing mainstream approaches on the AISTD, ISTD, SRD, and WSRD+ datasets, and demonstrates good generalization ability in cross-dataset testing on USR and SBU. Meanwhile, the model also has significant advantages in parameter efficiency and computational complexity. Code is available at:https://github.com/ZHUXIUJINChris/ShadowMamba.
Keywords
Image shadow removal, Mamba, Scanning mechanism, Shadow boundary
Publication Title
Image and Vision Computing
ISSN
0262-8856
DOI
10.1016/j.imavis.2025.105872
Recommended Citation
Zhu, Xiujin; Chow, Chee Onn; and Chuah, Joon Huang, "ShadowMamba: State-space model with boundary-region selective scan for shadow removal" (2026). Research Publications (2026 to 2030). 1295.
https://knova.um.edu.my/research_publications_2026_2030/1295
Volume
166
Publisher
Elsevier Ltd