Direction-aware Spatial Context Features for Shadow Detection and Removal

05/12/2018
by   Xiaowei Hu, et al.
0

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 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 in 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 inconsistency in the training pairs. We employ two shadow detection benchmark datasets and two shadow removal benchmark datasets, and perform various experiments to evaluate our method. Experimental results show that our method clearly outperforms state-of-the-art methods for both shadow detection and shadow removal.

READ FULL TEXT

page 1

page 5

page 7

page 8

page 9

page 10

page 11

page 12

research
12/12/2017

Direction-aware Spatial Context Features for Shadow Detection

Shadow detection is a fundamental and challenging task, since it require...
research
09/20/2021

R2D: Learning Shadow Removal to Enhance Fine-Context Shadow Detection

Current shadow detection methods perform poorly when detecting shadow re...
research
06/28/2020

Shadow Removal by a Lightness-Guided Network with Training on Unpaired Data

Shadow removal can significantly improve the image visual quality and ha...
research
09/28/2019

GLA-Net: An Attention Network with Guided Loss for Mismatch Removal

Mismatch removal is a critical prerequisite in many feature-based tasks....
research
07/03/2019

Probabilistic Multilayer Regularization Network for Unsupervised 3D Brain Image Registration

Brain image registration transforms a pair of images into one system wit...
research
02/28/2019

A CNN-RNN Framework with a Novel Patch-Based Multi-Attention Mechanism for Multi-Label Image Classification in Remote Sensing

This paper presents a novel framework that jointly exploits Convolutiona...
research
08/25/2023

Direction-aware Video Demoireing with Temporal-guided Bilateral Learning

Moire patterns occur when capturing images or videos on screens, severel...

Please sign up or login with your details

Forgot password? Click here to reset