A Shadow Elimination Algorithm Based on HSV Spatial Feature and Texture Feature

  • Ranran Song
  • Min LiuEmail author
  • Minghu Wu
  • Juan Wang
  • Cong Liu
Conference paper
Part of the Lecture Notes on Data Engineering and Communications Technologies book series (LNDECT, volume 6)


In order to improve the accuracy of the detection and tracking task in the intelligent surveillance system, we propose a shadow elimination algorithm based on HSV spatial feature and texture feature. In this paper, firstly the background subtraction is used to obtain the motion area of the sequence image, where HSV feature is used to determine the threshold value of the shadow elimination which can be completely removed. Then the complete moving target is obtained by OR operator of combining the foreground which is extracted by OTSU and the result which is extracted by HSV. The algorithm is applied to several realistic scenario where exists various shadow. We compare our method with other traditional algorithm and report experimental results, both in terms of noise suppression and detection accuracy. The experimental results show that the proposed method has the better noise suppression and detection accuracy.



This research was supported by National Natural Science Foundation of China (61471162); Program of International science and technology cooperation (2015DFA10940); Science and technology support program (R & D) project of Hubei Province (2015BAA115); PhD Research Startup Foundation of Hubei University of Technology (BSQD13032); Open Foundation of Hubei Collaborative Innovation Center for High-Efficiency Utilization of Solar Energy (HBSKFZD2015005, HBSKFTD2016002).


  1. 1.
    Kang, J., Cohen, I., Medioni, G.: Tracking Objects from Multiple Stationary and Moving Cameras, pp. 31–35. The Institution of Electrical Engineers, England (2004)Google Scholar
  2. 2.
    Lee, B.J., Park, J.B., Jin, S.H., et al.: Intelligent Kalman filter for tracking a manoeuvring target. IEEE Proc. Radar Sonar Navig. 151(6), 344–350 (2004)CrossRefGoogle Scholar
  3. 3.
    Prati, A., Mikic, I., Cucchiara, R., et al.: Detecting moving shadows: algorithms and evaluation. IEEE Trans. Pattern Anal. Mach. Intell. 25(7), 918–923 (2003)CrossRefGoogle Scholar
  4. 4.
    Liu, Z., Huang, K., Tan, T.: Cast shadow removal in a hierarchical manner using MRF. IEEE Trans. Circuits Syst. Video Technol. 22(1), 56–66 (2012)CrossRefGoogle Scholar
  5. 5.
    Choi, J.M., Yoo, Y.J., Choi, J.Y.: Adaptive shadow estimator for removing shadow of moving object. Comput. Vis. Image Underst. 114(9), 1017–1029 (2010)CrossRefGoogle Scholar
  6. 6.
    Mc Feely, R., Glavin, M., Jones, E.: Shadow identification for digital imagery using colour and texture cues. IET Image Process. 6(2), 148–159 (2012)MathSciNetCrossRefGoogle Scholar
  7. 7.
    Fang, L.Z., Qiong, W.Y., Sheng, Y.Z.: A method to segment moving vehicle cast shadow based on wavelet transform. Pattern Recogn. Lett. 29(16), 2182–2188 (2008)CrossRefGoogle Scholar
  8. 8.
    Cucchiara, R., Grana, C., Piccardi, M., et al.: Improving shadow suppression in moving object detection with HSV color information. In: Proceedings of 2001 IEEE Intelligent Transportation Systems, pp. 334–339. IEEE (2001)Google Scholar
  9. 9.
    Cucchiara, R., Grana, C., Piccardi, M., et al.: Detecting moving objects, ghosts, and shadows in video streams. IEEE Trans. Pattern Anal. Mach. Intell. 25(10), 1337–1342 (2003)CrossRefGoogle Scholar
  10. 10.
    Wang, H.-Y., Pan, D.-L., Xia, D.-S.: A fast algorithm for two-dimensional Otsu adaptive threshold algorithm. Acta Automatica Sin. 33(9), 968–971 (2007)MathSciNetGoogle Scholar
  11. 11.
    Li, Y., Sun, Z.-X., Yuan, B.: An improved method for motion detection by frame difference and background subtraction. J. Image Grap. 14(6), 1162–1168 (2009)Google Scholar
  12. 12.
    Elgammal, A., Harwood, D., David, L.S.: Nonparametric background model for background subtraction. In: Proceedings of the Sixth European Conference on Computer Vision (2000)Google Scholar
  13. 13.
    Soh, Y.S., Lee, H., Wang, Y.: Invariant color model-based shadow removal in traffic image and a new metric for evaluating the performance of shadow removal methods. In: PRICAI 2006: Trends in Artificial Intelligence, pp. 544–552. Springer, Heidelberg (2006)Google Scholar
  14. 14.
    Joshi, A.J., Papanikolopoulos, N.P.: Learning to detect moving shadows in dynamic environments. IEEE Trans. Pattern Anal. Mach. Intell. 30(11), 2055–2063 (2008)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG 2018

Authors and Affiliations

  • Ranran Song
    • 1
    • 2
  • Min Liu
    • 1
    • 2
    Email author
  • Minghu Wu
    • 1
    • 2
  • Juan Wang
    • 1
    • 2
  • Cong Liu
    • 1
    • 2
  1. 1.Hubei Collaborative Innovation Center for High-Efficiency Utilization of Solar EnergyHubei University of TechnologyWuhanPeople’s Republic of China
  2. 2.Hubei Power Grid Intelligent Control and Equipment Engineering Technology Research CenterWuhanPeople’s Republic of China

Personalised recommendations