Automatic removal of complex shadows from indoor videos using transfer learning and dynamic thresholding

Abstract In video-based tracking and recognition applications, shadows are usually mis-classified as foreground or part of it due to its close associative to the objects. Shadows in indoor scenarios are more challenging and usually characterized by multiple light sources that produce complex patterns. In this article, we present a learning-based method for removing shadows. Our method suppresses light shadows with a dynamically computed threshold and removes dark shadows using an online learning strategy that is fine-tuned with the automatically identified examples in the new videos. Our experiments demonstrate that the proposed method adapts to the videos and remove shadows effectively. The average accuracy exceeds 97%. The sensitivity of shadow detection varies slightly with different confidence levels used in example selection for retraining and high confidence usually yields better performance with less retraining iterations. In the evaluation of efficiency, updating kNN imposes little impact on the processing time.

[1]  Montse Pardàs,et al.  Enhanced Bayesian foreground segmentation using Brightness and Color Distortion region-based model for shadow removal , 2010, 2010 IEEE International Conference on Image Processing.

[2]  Bang Jun Lei,et al.  A background extraction and shadow removal algorithm based on clustering for ViBe , 2014, 2014 International Conference on Machine Learning and Cybernetics.

[3]  M.A. As'ari,et al.  Object's Shadow Removal with Removal Validation , 2007, 2007 IEEE International Symposium on Signal Processing and Information Technology.

[4]  Michal Sofka Commentary Paper on "Shadow Removal in Indoor Scenes" , 2008, 2008 IEEE Fifth International Conference on Advanced Video and Signal Based Surveillance.

[5]  Nicolas Martel-Brisson,et al.  Learning and Removing Cast Shadows through a Multidistribution Approach , 2007, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[6]  Jordi Gonzàlez,et al.  Accurate Moving Cast Shadow Suppression Based on Local Color Constancy Detection , 2011, IEEE Transactions on Image Processing.

[7]  Yang Runfeng,et al.  A novel vehicle's shadow detection and removal algorithm , 2012, 2012 2nd International Conference on Consumer Electronics, Communications and Networks (CECNet).

[8]  Jacob Scharcanski,et al.  Stochastic shadow detection using a hypergraph partitioning approach , 2017, Pattern Recognit..

[9]  François Brémond,et al.  Shadow Removal in Indoor Scenes , 2008, 2008 IEEE Fifth International Conference on Advanced Video and Signal Based Surveillance.

[10]  Xiaohui Yuan,et al.  Inverse Sparse Group Lasso Model for Robust Object Tracking , 2017, IEEE Transactions on Multimedia.

[11]  Hagit Hel-Or,et al.  Shadow Removal Using Intensity Surfaces and Texture Anchor Points , 2011, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[12]  Thomas B. Moeslund,et al.  Chromatic shadow detection and tracking for moving foreground segmentation , 2015, Image Vis. Comput..

[13]  Sambit Bakshi,et al.  An Evaluation of Background Subtraction for Object Detection Vis-a-Vis Mitigating Challenging Scenarios , 2016, IEEE Access.

[14]  Xiaohui Yuan,et al.  Automatic feature point detection and tracking of human actions in time-of-flight videos , 2017, IEEE/CAA Journal of Automatica Sinica.

[15]  Jwu-Sheng Hu,et al.  Robust Background Subtraction with Shadow and Highlight Removal for Indoor Surveillance , 2006, 2006 IEEE/RSJ International Conference on Intelligent Robots and Systems.

[16]  Jun Kong,et al.  Shadow Removal Based on Shadow Direction and Shadow Attributes , 2006, 2006 International Conference on Computational Inteligence for Modelling Control and Automation and International Conference on Intelligent Agents Web Technologies and International Commerce (CIMCA'06).

[17]  Marc Van Droogenbroeck,et al.  ViBe: A Universal Background Subtraction Algorithm for Video Sequences , 2011, IEEE Transactions on Image Processing.

[18]  Rita Cucchiara,et al.  Detecting Moving Objects, Ghosts, and Shadows in Video Streams , 2003, IEEE Trans. Pattern Anal. Mach. Intell..

[19]  Nikolaos Papanikolopoulos,et al.  Learning to Detect Moving Shadows in Dynamic Environments , 2008, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[20]  F. Xavier Roca,et al.  Moving Cast Shadows Detection Methods for Video Surveillance Applications , 2014 .

[21]  Yang Wang,et al.  A dynamic conditional random field model for foreground and shadow segmentation , 2006, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[22]  Tamás Szirányi,et al.  Bayesian Foreground and Shadow Detection in Uncertain Frame Rate Surveillance Videos , 2008, IEEE Transactions on Image Processing.