SwinShadow: Shifted Window for Ambiguous Adjacent Shadow Detection
Not on the map. Why?
Abstract (arXiv)
Shadow detection is a fundamental and challenging task in many computer vision applications. Intuitively, most shadows come from the occlusion of light by the object itself, resulting in the object and its shadow being contiguous (referred to as the adjacent shadow in this paper). In this case, when the color of the object is similar to that of the shadow, existing methods struggle to achieve accurate detection. To address this problem, we present SwinShadow, a transformer-based architecture that fully utilizes the powerful shifted window mechanism for detecting adjacent shadows. The mechanism operates in two steps. Initially, it applies local self-attention within a single window, enabling the network to focus on local details. Subsequently, it shifts the attention windows to facilitate inter-window attention, enabling the capture of a broader range of adjacent information. These combined steps significantly improve the network's capacity to distinguish shadows from nearby objects. And the whole process can be divided into three parts: encoder, decoder, and feature integration. During encoding, we adopt Swin Transformer to acquire hierarchical features. Then during decoding, for shallow layers, we propose a deep supervision (DS) module to suppress the false positives and boost the representation capability of shadow features for subsequent processing, while for deep layers, we leverage a double attention (DA) module to integrate local and shifted window in one stage to achieve a larger receptive field and enhance the continuity of information. Ultimately, a new multi-level aggregation (MLA) mechanism is applied to fuse the decoded features for mask prediction. Extensive experiments on three shadow detection benchmark datasets, SBU, UCF, and ISTD, demonstrate that our network achieves good performance in terms of balance error rate (BER).
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 32 of its 80 references that are in the map. First posted on arXiv 7 Aug 2024.
Builds on
32 of 80 references.
References · 32
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
- 2016Pyramid Scene Parsing Networkcited by 2,479
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
20 more
- 2020Pre-Trained Image Processing Transformercited by 893
- 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 866
- 2021Multi-Stage Progressive Image Restorationcited by 816
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2020End-to-End Video Instance Segmentation with Transformerscited by 443
- 2019EGNet:Edge Guidance Network for Salient Object Detectioncited by 237
- 2016Deeply supervised salient object detection with short connectionscited by 196
- 2017Stacked Conditional Generative Adversarial Networks for Jointly Learning Shadow Detection and Shadow Removalcited by 161
- 2021StyleSwin: Transformer-based GAN for High-resolution Image Generationcited by 152
- 2018Reverse Attention for Salient Object Detectioncited by 113
- 2019Rendering Synthetic Objects into Legacy Photographscited by 72
- 2018Direction-aware Spatial Context Features for Shadow Detection and Removalcited by 58
- 2017Direction-aware Spatial Context Features for Shadow Detectioncited by 56
- 2017A+D Net: Training a Shadow Detector with Adversarial Shadow Attenuationcited by 39
- 2019Revisiting Shadow Detection: A New Benchmark Dataset for Complex Worldcited by 34
- 2023SILT: Shadow-aware Iterative Label Tuning for Learning to Detect Shadows from Noisy Labelscited by 19
- 2022Video Shadow Detection via Spatio-Temporal Interpolation Consistency Trainingcited by 12
- 2015Shadow Optimization from Structured Deep Edge Detectioncited by 11
- 2021Fine-Context Shadow Detection using Shadow Removalcited by 9
- 2017Fast Shadow Detection from a Single Image Using a Patched Convolutional Neural Networkcited by 7
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2026Hierarchical Evidence-Driven Reasoning for Long Document Understandingcited by 2
- 2025Embedding Physical Reasoning into Diffusion-Based Shadow Generation Under the Sun and Skycited by 0
- 2025Cast and Attached Shadow Detection via Iterative Light and Geometry Reasoningcited by 0
- 2026Revisiting Shadow Detection from a Vision-Language Perspectivecited by 0
- 2026Hierarchical Evidence-Driven Reasoning for Long Document Understanding6 Jul 2026
- 2026Revisiting Shadow Detection from a Vision-Language Perspective12 May 2026
- 2025Cast and Attached Shadow Detection via Iterative Light and Geometry Reasoning5 Dec 2025
- 2025Embedding Physical Reasoning into Diffusion-Based Shadow Generation Under the Sun and Sky5 Dec 2025