Foreground Extraction Based on 20-Neighborhood Color Motif Co-occurrence Matrix

  • Chun-Feng GuoEmail author
  • Guo Tai Chen
  • Lin Xu
  • Chao-Fan Xie
Conference paper
Part of the Smart Innovation, Systems and Technologies book series (SIST, volume 157)


On the basis of traditional gray level co-occurrence matrix (GLCM) and 8-neighborhood element matrix, a novel 20- or twenty-neighborhood color motif co-occurrence matrix (TCMCM) is proposed and used to extract the foreground in color videos. The processing of extracting the foreground is briefly described as follows. First, the background is constructed by averaging the first many frames of the considered video. Following this, the TCMCM of each point is computed in the current frame and background frame respectively. Next, based on the TCMCM, the entropy, moment of inertia and energy in each of their color channel are introduced to represent color texture features. Finally, Euclidean distance is used to measure the similarity of color texture features between the foreground and background. Experimental results show that the presented method can be effectively applied to foreground extraction in color video, and can get better performance on the foreground extraction than the traditional method based on GLCM.


Foreground extraction Motif matrix Gray level co-occurrence matrix Color motif co-occurrence matrix 



This work is supported by Educational Research Project for Young and Middle-aged Teachers of Fujian No. JAT-170667 and Teaching Reform Project of Fuqing Branch of Fujian Normal University No. XJ14010.


  1. 1.
    Lin, G., Wang, C.: Improved three frame difference method and background difference method a combination of moving target detection algorithm. Equip. Manuf. Technol. 3, 172–173 (2018)Google Scholar
  2. 2.
    Fu, D.: Vehicle detection algorithm based on background modeling. University of Science and Technology of China, Hefei (2015)Google Scholar
  3. 3.
    Guo, C.: Target tracking algorithm based on improved five-frame difference and mean shift. J. Langfang Normal Univ. 18(1), 21–24 (2018)Google Scholar
  4. 4.
    Jian, C., Hu, J., Cui, G.: Texture feature extraction method of camouflage effect evaluation model. Comm. Control Simul. 39(3), 102–105 (2017)Google Scholar
  5. 5.
    Gao, C., Hui, X.: GLCM-Based texture feature extraction. Comput. Syst. Appl. 19(6), 195–198 (2010)Google Scholar
  6. 6.
    Liu, X.: ROI digital watermarking based on texture characteristics. Hangzhou Dianzi University, Hangzhou (2011)Google Scholar
  7. 7.
    Wang, L., Ou, Z.: Image texture analysis by grey-primitive co-occurrence matrix. Comput. Eng. 30(23), 19–21 (2004)Google Scholar
  8. 8.
    Hou, J., Chen, Y., He, S., et al.: New definition of image texture feature. Comput. Appl. Softw. 24(9), 157–158 (2007)Google Scholar
  9. 9.
    Song, L., Wang, X.: An image retrieval algorithm integrating color and texture features. Comp. Eng. Appl. 47(34), 203–206 (2011)Google Scholar
  10. 10.
    Yu, S., Zeng, J., Xie, L.: Image retrieval algorithm based on multi-feature fusion. Comput. Eng. 38(24), 216–219 (2012)Google Scholar
  11. 11.
    Haralick, R.M., Shanmugam, K., Dinstein, I.: Textural features for image classification. IEEE Trans. Syst. Man Cybern. 3(6), 610–621 (1973)CrossRefGoogle Scholar
  12. 12.
    Ghulam, M., Mohammed, A., Hossain, M., et al.: Enhanced living by assessing voice pathology using a co-occurrence matrix. Sensors 17(2), 267 (2017)Google Scholar
  13. 13.
    Wang, H., Li, H.: Classification recognition of impurities in seed cotton based on local binary pattern and gray level co-occurrence matrix. Trans. Chin. Soc. Agric. Eng. 31(3), 236–240 (2015)Google Scholar
  14. 14.
    Wang, L., Ou, Z., Su, T., et al.: Content-based image retrieval in database using SVM and gray primitive co-occurrence matrix. J. Dalian Univ. Technol. (4), 475–478 (2003)Google Scholar
  15. 15.
    Xu, F.: Classification of texture features based on color symbiosis matrix. J. Zhejiang Ind. Trade Vocat. Coll. 16(4), 54–58 (2016)Google Scholar
  16. 16.
    Gui, W., Liu, J., Yang, C., et al.: Color co-occurrence matrix based froth image texture extraction for mineral flotation. Miner. Eng. 60–67 (2013)CrossRefGoogle Scholar
  17. 17.
    Jiao, P., Guo, Y., Liu, L., et al.: Implementation of gray level co-occurrence matrix texture feature extraction using Matlab. Comput. Technol. Dev. 22(11), 169–171 (2012)Google Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  • Chun-Feng Guo
    • 1
    Email author
  • Guo Tai Chen
    • 1
    • 2
  • Lin Xu
    • 2
  • Chao-Fan Xie
    • 1
  1. 1.School of Electronic and Information EngineeringFuqing Branch of Fujian Normal UniversityFuzhouChina
  2. 2.Key Laboratory of Nondestructive TestingFuqing Branch of Fujian Normal UniversityFuzhouChina

Personalised recommendations