Skip to main content
Log in

A discrete bio-inspired metaheuristic algorithm for efficient and accurate image matting

  • Regular Research Paper
  • Published:
Memetic Computing Aims and scope Submit manuscript

Abstract

With the development of digital multimedia technologies, image matting has become one of the most popular research problem in academic field and been widely applied in industrial communities. The key challenge of image matting is how to extract the foreground region (target region) from a given image accurately. Sampling-based image matting technology implements matting by sampling some foreground pixels and background pixels from known regions and finding the best foreground–background sample pair for every undetermined pixel. The best foreground–background sample pair represents the true foreground and background colors of the corresponding undetermined pixel and they can estimate the region of this undetermined pixel accurately. Therefore, the quality of matting depends on whether the best sample pair can be found. This search process can be regarded as a combinational optimization problem. In this paper, in order to obtain more accurate matting result, we applied a bio-inspired metaheuristic algorithm to solve this problem, which is based on the promising earthworm optimization algorithm (EWA). By analyzing the property of this optimization problem, we upgrade two reproductions and the cauchy mutation of EWA to discrete calculations. The proposed algorithm is called as the discrete earthworm optimization algorithm (D-EWA). By comparing with existing optimization algorithms on a standard benchmark dataset, the experimental results show that the proposed D-EWA can obtain more accurate matting results on both visual effect and quantitative metric.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. Beyer W (1964) Traveling matte photography and the blue screen system. American Cinematographer, New York

    Google Scholar 

  2. Chen Q, Li D, Tang CK (2013) Knn matting. IEEE Trans Pattern Anal Mach Intell 35(9):2175–2188

    Article  Google Scholar 

  3. Dervis K, Bahriye B (2007) A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm. J Global Optim 39(3):459–471

    Article  MathSciNet  MATH  Google Scholar 

  4. Eberhart R, Kennedy J (1995) A new optimizer using particle swarm theory. In: Proceedings of the sixth international symposium on micro machine and human science, pp. 39–43

  5. Gastal ESL, Oliveira MM (2010) Shared sampling for real-time alpha matting. Comput Graph Forum 29(2):575–584

    Article  Google Scholar 

  6. Goldberg DE (1998) Genetic algorithms in search, optimization, and machine learning. Addison-Wesley Pub Co, Boston

    Google Scholar 

  7. He K, Rhemann C, Rother C, Tang X, Sun J (2011) A global sampling method for alpha matting. In: IEEE conference on computer vision and pattern recognition (CVPR), pp. 2049–2056

  8. Levin A, Lischinski D, Weiss Y (2008) A closed-form solution to natural image matting. IEEE Trans Pattern Anal Mach Intell 30(2):228–242

    Article  Google Scholar 

  9. Lv L, Huang H, Cai Z, Hu H (2015) Using particle swarm large-scale optimization to improve sampling-based image matting. In: The companion publication of the 2015 annual conference on genetic and evolutionary computation, pp. 957 – 961

  10. Marco D, Vittorio M, Alberto C (1996) The ant system: optimization by a colony of cooperating agents. IEEE Trans Syst Man Cybern Part B Cybern 26(1):29–41

    Article  Google Scholar 

  11. Rhemann C, Rother C, Gelautz M (2008) Improving color modeling for alpha matting. In: Proceedings of the British machine vision conference (BMVC) 2008, pp 1155–1164

  12. Rhemann C, Rother C, Wang J, Gelautz M, Kohli P, Rott P (2009) A perceptually motivated online benchmark for image matting. In: IEEE conference on computer vision and pattern recognition (CVPR), pp 1826–1833

  13. Storn R, Price K (1997) Differential evolution: a simple and efficient heuristic for global optimization over continuous spaces. Global Optim 11(4):341–359

    Article  MathSciNet  MATH  Google Scholar 

  14. Sun J, Jia J, Tang CK, Shum HY (2004) Poisson matting. ACM Trans Graph 23(3):315–321

    Article  Google Scholar 

  15. Wang GG, Deb S, dos Santos Coelho L (2015) Earthworm optimization algorithm: a bio-inspired metaheuristic algorithm for global optimization problems. Int J Bio-Inspired Comput 200x:X

    Google Scholar 

  16. Wang J, Cohen MF (2007) Optimized color sampling for robust matting. In: IEEE computer society conference on computer vision and pattern recognition (CVPR), pp 1–8

  17. Wikipedia: Matte (filmmaking). [Online]. http://en.wikipedia.org/wiki/Matte_(filmmaking) (1980)

  18. Zhu Q, Shao L, Li X, Wang L (2015) Targeting accurate object extraction from an image: a comprehensive study of natural image matting. IEEE Trans Neural Netw Learn Syst 26(2):185–207

    Article  MathSciNet  Google Scholar 

Download references

Funding

This study was funded by National Natural Science Foundation of China (61370102, 61170193, 61370185), Guangdong Natural Science Foundation (2014A030306050, S2012010009865, S20130100 13432, S2013010015940), the Fundamental Research Funds for the Central Universities, SCUT (2015PT022), Science and Technology Planning Project of Huizhou City (2011P002, 2011g012, 2011P005, 2011P003, 2011g011, 2013B020015008) and Science and Technology Planning Project of Guangdong Province (2011B090400041, 2012B010100039, 2012 B040305011, 2012B010100040, 2015B010129015). Education and Science Programs of Guangdong Province (11JXZ012, 14JXN065), Discipline Construction Programs of Guangdong Province (2013LYM00874), Key Technology Research and Development Programs of Huizhou (2013-13, 2013B020015008, 2014B 050013016), Science and Technology Plan Project of Huizhou University (2012QN09), Distinguished Young Scholars Fund of Department of Education (No. Yq2013126).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Liang Lv.

Ethics declarations

Conflict of interest

All Authors of this paper declare that we have no conflict of interest.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Cai, ZQ., Lv, L., Huang, H. et al. A discrete bio-inspired metaheuristic algorithm for efficient and accurate image matting. Memetic Comp. 11, 53–64 (2019). https://doi.org/10.1007/s12293-018-0275-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12293-018-0275-4

Keywords

Navigation