Background Subtraction with Superpixel and k-means

  • Yu-Qiu Chen
  • Zhan-Li SunEmail author
  • Nan Wang
  • Xin-Yuan Bao
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10955)


In this paper, we presents a background subtraction approach with superpixel and k-means that aims to use less memory to establish a background model and less computation time for moving object detection. We use superpixels to divide similar pixels into the same area, K-mean is used to obtain the main color values of the superpixel. The mean and variance of superpixels and changes in the number of previous attractions are used as the discriminative features. The main contribution of this paper is to propose features suitable for superpixel-based moving object detection. We test this method in different videos demonstrate that this method demonstrated equal or better segmentation than the other techniques and proved capable of processing 320 * 240 video at 114 fps, including post-processing, faster than most existing algorithms.


Background subtraction Superpixel K-Means 



The work was supported by a grant from National Natural Science Foundation of China (No. 61370109), a key project of support program for outstanding young talents of Anhui province university (No. gxyqZD2016013), a grant of science and technology program to strengthen police force (No. 1604d0802019), and a grant for academic and technical leaders and candidates of Anhui province (No. 2016H090).


  1. 1.
    Stauffer, C., Grimson, W.E.L.: Adaptive background mixture models for real-time tracking. In: Proceedings of the CVPR, vol. 2, p. 2246 (1998)Google Scholar
  2. 2.
    Kim, K., Chalidabhongse, T.H., Harwood, D., et al.: Real-time foreground-background segmentation using codebook model. Real-Time Imaging 11(3), 172–185 (2005)CrossRefGoogle Scholar
  3. 3.
    Dong, L., Kaneko, S., Hashimoto, M., et al.: Co-occurrence probability-based pixel pairs background model for robust object detection in dynamic scenes. Pattern Recogn. 48(4), 1374–1390 (2015)CrossRefGoogle Scholar
  4. 4.
    Barnich, O., Droogenbroeck, M.V.: ViBe: a universal background subtraction algorithm for video sequences. IEEE Trans. Image Process. 20(6), 1709 (2011)MathSciNetCrossRefGoogle Scholar
  5. 5.
    Giordano, D., Murabito, F., Palazzo, S., et al.: Superpixel-based video object segmentation using perceptual organization and location prior. In: Computer Vision and Pattern Recognition, pp. 4814–4822 (2015)Google Scholar
  6. 6.
    Chen, T.Y., Biglari-Abhari, M., Wang, I.K.: SuperBE: computationally light background estimation with superpixels. J. Real-Time Image Process. 11, 1–17 (2018)Google Scholar
  7. 7.
    Achanta, R., Shaji, A., Smith, K., et al.: SLIC superpixels compared to state-of-the-art superpixel methods. IEEE Trans. Pattern Anal. Mach. Intell. 34(11), 2274–2282 (2012)CrossRefGoogle Scholar
  8. 8.
    Wang, Y., Jodoin, P.M., Porikli, F., et al.: CDnet 2014: an expanded change detection benchmark dataset. In: Computer Vision and Pattern Recognition Workshops, pp. 393–400 (2014)Google Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Yu-Qiu Chen
    • 1
    • 2
  • Zhan-Li Sun
    • 1
    Email author
  • Nan Wang
    • 1
  • Xin-Yuan Bao
    • 1
  1. 1.School of Electrical Engineering and AutomationAnhui UniversityHefeiChina
  2. 2.Hefei Sunwin Intelligence Co., LTDHefeiChina

Personalised recommendations