paper-with-me

Papers

Direction-aware Spatial Context Features for Shadow Detection and Removal

2018-05-12 · Xiaowei Hu, Chi-Wing Fu, Lei Zhu, Jing Qin, Pheng-Ann Heng

Shadow detection and shadow removal are fundamental and challenging tasks, requiring an understanding of the global image semantics. This paper presents a novel deep neural network design for shadow detection and removal by analyzing the spatial 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 and removing shadows. This design is developed into the DSC module and embedded in a convolutional neural network (CNN) to learn the DSC features at different levels. Moreover, we design a weighted cross entropy loss to make effective the training for shadow detection and further adopt the network for shadow removal by using a Euclidean loss function and formulating a color transfer function to address the color and luminosity inconsistencies in the training pairs. We employed two shadow detection benchmark datasets and two shadow removal benchmark datasets, and performed various experiments to evaluate our method. Experimental results show that our method performs favorably against the state-of-the-art methods for both shadow detection and shadow removal.

📄 PDF Abstract BibTeX arXiv:1805.04635

Code (2)

stevewongv/dsc-pytorch pytorch
xw-hu/DSC pytorch

Tasks

Shadow DetectionShadow Detection And RemovalShadow Removal

Similar Papers 제목 키워드 기반

Direction-aware Spatial Context Features for Shadow Detection

2017-12-12 · CVPR 2018 6 · Xiaowei Hu, Lei Zhu, Chi-Wing Fu, Jing Qin 외

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 detect…

Detecting ShadowsShadow Detection

D2-Mamba: Dual-Scale Fusion and Dual-Path Scanning with SSMs for Shadow Removal

2025-08-18 · Linhao Li, Boya Jin, Zizhe Li, Lanqing Guo 외 arxiv

Shadow removal aims to restore images that are partially degraded by shadows, where the degradation is spatially localized and non-uniform. Unlike general restoration tasks that assume global degradation, shadow removal …

Shadow Removal

Bidirectional Feature Pyramid Network with Recurrent Attention Residual Modules for Shadow Detection

2018-09-01 · ECCV 2018 9 · Lei Zhu, Zijun Deng, Xiao-Wei Hu, Chi-Wing Fu 외

This paper presents a network to detect shadows by exploring and combining global context in deep layers and local context in shallow layers of a deep convolutional neural network (CNN). There are two technical contribut…

Shadow Detection

Fine-Context Shadow Detection using Shadow Removal

2021-09-20 · Jeya Maria Jose Valanarasu, Vishal M. Patel

Current shadow detection methods perform poorly when detecting shadow regions that are small, unclear or have blurry edges. In this work, we attempt to address this problem on two fronts. First, we propose a Fine Context…

Shadow DetectionShadow Detection And RemovalShadow Removal

DeshadowMamba: Deshadowing as 1D Sequential Similarity

2025-10-28 · Zhaotong Yang, Yi Chen, Yanying Li, Shengfeng He 외 arxiv

Recent deep models for image shadow removal often rely on attention-based architectures to capture long-range dependencies. However, their fixed attention patterns tend to mix illumination cues from irrelevant regions, l…

Contrastive LearningImage Shadow Removal