Direction-Aware Spatial Context Features for Shadow Detection and Removal

被引:151
作者
Hu, Xiaowei [1 ]
Fu, Chi-Wing [1 ,3 ]
Zhu, Lei [1 ]
Qin, Jing [2 ]
Heng, Pheng-Ann [1 ,3 ]
机构
[1] Chinese Univ Hong Kong, Dept Comp Sci & Engn, Hong Kong, Peoples R China
[2] Hong Kong Polytech Univ, Sch Nursing, Ctr Smart Hlth, Hong Kong, Peoples R China
[3] Chinese Acad Sci, Shenzhen Inst Adv Technol, Guangdong Prov Key Lab Comp Vis & Virtual Real Te, Shenzhen 518055, Peoples R China
关键词
Feature extraction; Image color analysis; Training; Semantics; Benchmark testing; Recurrent neural networks; Shadow detection; shadow removal; spatial context features; deep neural network; INTRINSIC IMAGE DECOMPOSITION;
D O I
10.1109/TPAMI.2019.2919616
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:2795 / 2808
页数:14
相关论文
共 63 条
[1]  
[Anonymous], 2017, IEEE C COMPUT VIS PA
[2]  
[Anonymous], 2015, CORR
[3]  
[Anonymous], 2004, COMPUT VIS IMAGE UND, DOI DOI 10.1016/j.cviu.2004.03.008
[4]  
[Anonymous], 2016, IEEE T PATTERN ANAL, DOI DOI 10.1109/TPAMI.2015.2462355
[5]  
Baba M., P ACM SIGGRAPH
[6]   Shape, Illumination, and Reflectance from Shading [J].
Barron, Jonathan T. ;
Malik, Jitendra .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2015, 37 (08) :1670-1687
[7]   Inside-Outside Net: Detecting Objects in Context with Skip Pooling and Recurrent Neural Networks [J].
Bell, Sean ;
Zitnick, C. Lawrence ;
Bala, Kavita ;
Girshick, Ross .
2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016, :2874-2883
[8]   Intrinsic Images in the Wild [J].
Bell, Sean ;
Bala, Kavita ;
Snavely, Noah .
ACM TRANSACTIONS ON GRAPHICS, 2014, 33 (04)
[9]   User-Assisted Intrinsic Images [J].
Bousseau, Adrien ;
Paris, Sylvain ;
Durand, Fredo .
ACM TRANSACTIONS ON GRAPHICS, 2009, 28 (05) :1-10
[10]   A Simple Model for Intrinsic Image Decomposition with Depth Cues [J].
Chen, Qifeng ;
Koltun, Vladlen .
2013 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2013, :241-248