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/Direction-aware Spatial Context Features for Shadow Detect...

Direction-aware Spatial Context Features for Shadow Detection

Xiaowei Hu, Lei Zhu, Chi-Wing Fu, Jing Qin, Pheng-Ann Heng

2017-12-12CVPR 2018 6Shadow Detection
PaperPDFCodeCode

Abstract

Shadow detection is a fundamental and challenging task, since it requires an understanding of global image semantics and there are various backgrounds around shadows. This paper presents a novel network for shadow detection by analyzing image context in a direction-aware manner. To achieve this, we first formulate the direction-aware attention mechanism in a spatial recurrent neural network (RNN) by introducing attention weights when aggregating spatial context features in the RNN. By learning these weights through training, we can recover direction-aware spatial context (DSC) for detecting shadows. This design is developed into the DSC module and embedded in a CNN to learn DSC features at different levels. Moreover, a weighted cross entropy loss is designed to make the training more effective. We employ two common shadow detection benchmark datasets and perform various experiments to evaluate our network. Experimental results show that our network outperforms state-of-the-art methods and achieves 97% accuracy and 38% reduction on balance error rate.

Results

TaskDatasetMetricValueModel
Object DetectionISTDBalanced Error Rate8.24DSC
Object DetectionUCFBalanced Error Rate8.1DSC
Object DetectionSBU / SBU-RefineBalanced Error Rate5.59DSC
3DISTDBalanced Error Rate8.24DSC
3DUCFBalanced Error Rate8.1DSC
3DSBU / SBU-RefineBalanced Error Rate5.59DSC
RGB Salient Object DetectionISTDBalanced Error Rate8.24DSC
RGB Salient Object DetectionUCFBalanced Error Rate8.1DSC
RGB Salient Object DetectionSBU / SBU-RefineBalanced Error Rate5.59DSC
2D ClassificationISTDBalanced Error Rate8.24DSC
2D ClassificationUCFBalanced Error Rate8.1DSC
2D ClassificationSBU / SBU-RefineBalanced Error Rate5.59DSC
2D Object DetectionISTDBalanced Error Rate8.24DSC
2D Object DetectionUCFBalanced Error Rate8.1DSC
2D Object DetectionSBU / SBU-RefineBalanced Error Rate5.59DSC
16kISTDBalanced Error Rate8.24DSC
16kUCFBalanced Error Rate8.1DSC
16kSBU / SBU-RefineBalanced Error Rate5.59DSC

Related Papers

S-EO: A Large-Scale Dataset for Geometry-Aware Shadow Detection in Remote Sensing Applications2025-04-09FastInstShadow: A Simple Query-Based Model for Instance Shadow Detection2025-03-10QDCNN: Quantum Deep Learning for Enhancing Safety and Reliability in Autonomous Transportation Systems2025-03-01When SAM2 Meets Video Shadow and Mirror Detection2024-12-26MetaShadow: Object-Centered Shadow Detection, Removal, and Synthesis2024-12-03Test-Time Intensity Consistency Adaptation for Shadow Detection2024-10-10Unveiling Deep Shadows: A Survey and Benchmark on Image and Video Shadow Detection, Removal, and Generation in the Deep Learning Era2024-09-03RenDetNet: Weakly-supervised Shadow Detection with Shadow Caster Verification2024-08-30