Abstract
In order to solve the moving objects shadow problem in foreground extraction of surveillance video images, a new cast shadow detection algorithm based on the YCbCr color space and topological cutting was proposed. Preliminary shadow removal was first performed based on the difference of the three components in the YCbCr color space of shadows and foregrounds. Besides, the maximum-flow/minimum-cut algorithm for image segmentation was optimized considering the topological constraints. The optimal segmentation of the foreground image was obtained during the continuous updating of the label. Finally, two sets of experiments were performed in video image sequences, including real surveillance videos and a well-known benchmark test set. By comparing with two other existing algorithms, the feasibility and effectiveness of the cast shadow detection algorithm were verified by the smooth border and higher recognition accuracy. In addition, the adaptability to foreground object density and different light intensities was measured in an airport terminal, showing that this algorithm can provide a high quality of moving foreground detection in surveillance video images and can be applied in monitoring of public places.
Similar content being viewed by others
References
Haritaoglu I, Harwood D, Davis LS (2000) W4: real-time surveillance of people and their activities. IEEE Trans Pattern Anal Mach Intell 8:809–830. https://doi.org/10.1109/34.868683
Amato A, Mozerov M, Huerta I, et al. (2008) Background subtraction technique based on chromaticity and intensity patterns. In: ICPR 2008 19th International Conference on Pattern Recognition. IEEE, pp 1–4. https://doi.org/10.1109/ICPR.2008.4761588
Delei K (2017) Moving target analysis based on computer vision. PC Fan 12:52
Xiuli Q (2010) Shadow removal algorithm based on YUV color space and graph theory cutting. Wuhan University of Technology, Wuhan
Haipeng Z, Fang W, Jianyan T (2017) Multi-target video tracking algorithm based on HSV color features. Sci Technol Eng 17(20):184–188
Hui Y, Tingfa X, Qingqing W, Lei X, Wei W (2013) Multi-object tracking based on multi-feature joint matching. Chin Opt 6(02):163–170
Allen JG, Xu RY, Jin JS (2004) Object tracking using camshift algorithm and multiple quantized feature spaces. In: Proceedings of the Pan-Sydney Area Workshop on Visual Information Processing. Australian Computer Society, Inc., pp 3–7
Suyin H (2013) Moving target detection algorithm research based on video surveillance. South China University of Technology, Guangzhou
Tong L (2013) Research on methods of multiple objects tracking in intelligent visual surveillance. University of Science and Technology of China, Hefei
Karaulova I, Hall P, Marshall AD (2000) A hierarchical model of dynamics for tracking people with a single video camera. In: Proceedings of British Machine Vision Conference, vol 1, pp 352–361
Hongji D, Quan S, Hang Z (2017) Identification of body characteristics of passengers based on video. Sci Technol Eng 17(34):92–96
Gallego J, Pardàs M, Haro G (2012) Enhanced foreground segmentation and tracking combining Bayesian background, shadow and foreground modeling. Pattern Recogn Lett 33(12):1558–1568
Li W, Wu X, Matsumoto K, et al. (2010) Foreground detection based on optical flow and background subtract. In: Communications, Circuits and Systems (ICCCAS), 2010 International Conference on. IEEE, pp 359–362
Oh SH, Javed S, Jung SK (2013) Foreground object detection and tracking for visual surveillance system: a hybrid approach. In: 11th International Conference on Frontiers of Information Technology (FIT). pp 13–18
Yepeng G, Xiaoqing C, Xinli J (2010) Motion foreground detection based on wavelet transformation and color ratio difference. In: 2010 3rd International Congress on Image and Signal Processing (CISP 2010), vol 3, pp 1423–1426
Lien CC, Yu WK, Lee CH, Han CC (2014) Night video surveillance based on the second-order statistics features. In: 10th International Conference on Intelligent Information Hiding and Multimedia Signal Processing (IIH-MSP). pp 353–356. https://doi.org/10.1109/IIH-MSP.2014.94
Cucchiara R, Grana C, Piccardi M (2001) Improving shadow suppression in moving object detection with HSV color information. In: Volume 8, No 11. Oakland, pp 334–339. https://doi.org/10.1109/ITSC.2001.948679
Mostafa Y, Abdelhafiz A (2017) Accurate shadow detection from high-resolution satellite images. IEEE Geosci Remote Sens Lett 12(4):494–498. https://doi.org/10.1109/LGRS.2017.2650996
Amato A, Mozarov MG, Bagdanov AD et al (2011) Accurate moving cast shadow suppression based on local color constancy detection. IEEE Trans Image Process 20(10):2954–2966. https://doi.org/10.1109/TIP.2011.2132728
Cao J, Chen H, Zhang K et al (2011) Measurement of moving shadow based on region color and texture. Robot 7(5):628–633
Kar A, Deb K (2015) Moving cast shadow detection and removal from Video based on HSV color space. In: Electrical Engineering and Information Communication Technology (ICEEICT), 2015 International Conference on. IEEE, pp 1–6. https://doi.org/10.1109/ICEEICT.2015.7307443
McKenna SJ, Jabri S, Duric Z et al (2000) Tracking groups of people. Comput Vis Image Underst 80(1):42–56. https://doi.org/10.1006/cviu.2000.0870
Martelbrisson N, Zaccarin A (2005) Moving cast shadow detection from a Gaussian mixture shadow model. IEEE Comput Soc Conf Comput Vis Pattern Recogn 42(2):643–648. https://doi.org/10.1109/CVPR.2005.233
Benedek C, Sziranyi T (2008) Bayesian foreground and shadow detection in uncertain frame rate surveillance videos. IEEE Trans Image Process 17(4):608–621. https://doi.org/10.1109/TIP.2008.916989
Yang W, Loe KF, Jiankang W (2006) A dynamic conditional random field model for foreground and shadow segmentation. IEEE Trans Pattern Anal Mach Intell 28(2):279–289. https://doi.org/10.1109/TPAMI.2006.25
Khan SH, Bennamoun M, Sohel F et al (2016) Automatic shadow detection and removal from a single image. IEEE Trans Pattern Anal Mach Intell 3:431–446
Kittler J, Illingworth J (1986) Minimum error thresholding. Pattern Recogn 19(1):41–47. https://doi.org/10.1016/0031-3203(86)90030-0
Chaoyun X, Weixing Z (2007) Threshold segmentation algorithm based on Otsu criterion and image entropy. Comput Eng 33(14):188–190
Osher S, Sethian J (1988) Fronts propagating with curvature dependent speed: algorithms based on Hamilton–Jacobi formulations. Comput Phys 79(1):12–49. https://doi.org/10.1016/0021-9991(88)90002-2
Changxiong Z, Shenglin Y (2007) Medical image segmentation based on minimum variance Snake model. Biomed Eng 24(1):32–35
Jianjie L, Zeming Z, Pingan W, Deshen X (2004) Simulated annealing based simplified snakes for weak edge medical image segmentation. J Image Graph 9(1):11–17
Bin L, Lianfang T, Zongyuan M (2007) Multi-threshold self-image of gray image based on artificial immune dynamic division. Comput Eng Des 28(1):106–108
Zhao F, Fan J, Liu H et al (2018) Noise robust multi-objective evolutionary clustering image segmentation motivated by intuitionistic fuzzy information. IEEE Trans Fuzzy Syst. https://doi.org/10.1109/TFUZZ.2018.2852289
Wenbing T, Jinwen T, Jian L et al (2003) Focusing of infrared image segmentation based on genetic algorithm and fuzzy entropy. J Mill Waters 22(6):465–468
Boykov Y, Kolmogorov V (2004) An experimental comparison of min-cut/maxflow algorithms for energy minimization in vision. PAMI 26(9):1124–1137. https://doi.org/10.1109/TPAMI.2004.60
Ye H (2011) Research on image segmentation based on graph theory. Journal of Xi’an University of Electronic Technology, Xi’an
Test Images for Wallflower Paper. https://www.microsoft.com/en-us/download/details.aspx?id=54651. Accessed 25 June 2018
Acknowledgements
The authors acknowledge the National Key R&D Program of China (No.2018YFC0809500) and National Natural Science Foundation of China (Grant No.71874081 and No.71573122).
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Shao, Q., Xu, C., Zhou, Y. et al. Cast shadow detection based on the YCbCr color space and topological cuts. J Supercomput 76, 3308–3326 (2020). https://doi.org/10.1007/s11227-018-2558-4
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-018-2558-4