Skip to main content
Log in

Improving sampling-based image matting with cooperative coevolution differential evolution algorithm

  • Methodologies and Application
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

Image matting is a fundamental operator in image editing and has significant influence on video production. This paper explores sampling-based image matting technology, with the aim to improve the accuracy of matting result. The result of sampling-based image matting technology is determined by the selected samples. Every undetermined pixel needs both a foreground and background pixel to estimate whether the undetermined one is in the foreground region of the image. These foreground pixels and background pixels are sampled from known regions, which form sample pairs. High-quality sample pairs can improve the accuracy of matting results. Therefore, how to search for the best sample pairs for all undetermined pixels is a key optimization problem of sampling-based image matting technology, termed “sample optimization problem.” In this paper, in order to improve the efficiency of searching for high-quality sample pairs, we propose a cooperative coevolution differential evolution (DE) algorithm in solution to this optimization problem. Strong-correlate pixels are divided into a group to cooperatively search for the best sample pairs. In order to avoid premature convergence of DE algorithm, a scattered strategy is used to keep the diversity of population. Besides, a simple but effective evaluation function is proposed to distinguish the quality of various candidate solutions. The existing optimization method, original DE algorithm and a popular evolution algorithm are used for comparison. The experimental results demonstrate that the proposed cooperative coevolution DE algorithm can search for higher-quality sample pairs and improve the accuracy of sampling-based image matting.

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

Similar content being viewed by others

References

  • Barnes C, Shechtman E, Finkelstein A, Goldman DB (2009) Patchmatch: a randomized correspondence algorithm for structural image editing. ACM Trans Gr (TOG) 28(3):24

    Google Scholar 

  • Cheng R, Jin Y (2014) A competitive swarm optimizer for large scale optimization. IEEE Trans Cybern 45(2):191–204

    Article  Google Scholar 

  • Comaniciu D, Meer P(1997) Robust analysis of feature spaces: color image segmentation. In: Proceedings of IEEE computer society conference on computer vision and pattern recognition, pp 750–755

  • Comaniciu D, Meer P (2002) Mean shift: a robust approach toward feature space analysis. IEEE Trans Pattern Anal Mach Intell 24(5):603–619

    Article  Google Scholar 

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

  • Fielding R (1972) The technique of special effects cinematography, 3rd edn. Focal/Hastings House, London, pp 220–243

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

    Article  Google Scholar 

  • Gong W, Cai Z, Ling XC, Li H (2011) Enhanced differential evolution with adaptive strategies for numerical optimization. IEEE Trans Syst Man Cybern 41(2):397–413

    Article  Google Scholar 

  • Gu B, Sheng VS, Tay KY, Romano W, Li S (2015) Incremental support vector learning for ordinal regression. IEEE Trans Neural Netw Learn Syst 26(7):1403–1416

    Article  MathSciNet  Google Scholar 

  • Guo P, Li N (2015) Self-adaptive threshold based on differential evolution for image segmentation. In: 2015 2nd international conference on information science and control engineering, pp. 466–470

  • 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

  • Kennedy J, Eberhart R (1995) Particle swarm optimization. In: Proceedings of IEEE International Conference Neural Networks, p 1942C1948

  • Lee P, Wu Y (2011) Nonlocal matting. In: IEEE conference on computer vision and pattern recognition CVPR 2011, pp 2193–2200

  • Liu Y, Yao X, Zhao Q, Higuchi T (2001) Scaling up fast evolutionary programming with cooperative coevolution. In: Proceedings of the 2001 congress on evolutionary computation, vol 2, pp 1101–1108

  • Mezura-Montes E, Velazquez-Reyes J, Coello CAC (2006) A comparative study of differential evolution variants for global optimization. In: Genetic and Evolutionary Computation Conference (GECCO), pp 485–492

  • Mhlenbein H (1989) Parallel genetic algorithms, population genetics, and combinatorial optimization. In: The workshop on parallelism, learning, evolution, workshop on evolutionary MODELS and strategies, vol 565, Neubiberg, Germany, pp 398–406

  • Miao Q, Shi C, Xu P, Yang M, Shi Y (2011) A novel algorithm of image fusion using shearlets. Opt Commun 284(6):1540–1547

    Article  Google Scholar 

  • Miao Q, Xu P, Liu T, Yang Y, Zhang J, Li W (2013) Linear feature separation from topographic maps using energy density and shear transform. IEEE Trans Image Process 22(4):1548–1558

    Article  MathSciNet  Google Scholar 

  • Omidvar MN, Li X, Mei Y (2014) Cooperative co-evolution with differential grouping for large scale optimization. IEEE Trans Evol Comput 18(3):378–393

    Article  Google Scholar 

  • Omidvar MN, Li X, Yao X (2011) Smart use of computational resources based on contribution for cooperative co-evolutionary algorithms. In: Proceedings of the 13th annual conference on genetic and evolutionary computation(GECCO’11), pp 1115–1122

  • Pan Z, Zhang Y, Kwong S (2015) Efficient motion and disparity estimation optimization for low complexity multiview video coding. IEEE Trans Broadcast 61(2):166–176

    Article  Google Scholar 

  • Porter T, Duff T (1984) Compositing digital images. Siggraph 18(3):253–259

    Article  Google Scholar 

  • Potter MA, Jong KAD (1994) A cooperative coevolutionary approach to function optimization. In: Proceedings of 3rd conference on parallel problem solving Natue, pp 249–257

  • Price K, Storn RM, Lampinen JA (2005) Differential evolution: a practical approach to global optimization (natural computing series). Springer, Berlin 538

    MATH  Google Scholar 

  • Qin AK, Huang VL, Suganthan PN (2009) Differential evolution algorithm with strategy adaptation for global numerical optimization. IEEE Trans Evol Comput 13(2):398–417

    Article  Google Scholar 

  • Rhemann C, Rother C, Gelautz M (2008) Improving color modeling for alpha matting. BMVC 1(2):1155–1164

    Google Scholar 

  • Rhemann C, Rother C, Wang J, Gelautz M, Kohli P, Rott P (2009) A perceptually motivated online benchmark for image matting. IEEE Conference on Computer Vision and Pattern Recognition, pp 1826–1833

  • Sarangi PP, Mishra BSP, Majhi B, Dehuri S (2014) Gray-level image enhancement using differential evolution optimization algorithm. In: 2014 international conference on signal processing and integrated networks (SPIN), pp 95–100

  • Shi C, Miao Q, Xu P (2013) A novel algorithm of image fusion based on shearlets and pcnn. Neurocomputing 117(10):47–53

    Google Scholar 

  • Shi Y, Eberhart R (1998) A modified particle swarm optimizer. In: IEEE international conference on evolutionary computation, pp 69–73

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

    Article  MathSciNet  MATH  Google Scholar 

  • Wang J, Cohen MF (2005) An iterative optimization approach for unified image segmentation and matting. In: Tenth IEEE international conference on computer vision (ICCV), vol 2, pp 936–943

  • 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

  • Xia Z, Wang X, Sun X, Liu Q, Xiong N (2016) Steganalysis of LSB matching using differences between nonadjacent pixels. Multimed Tools Appl 75(4):1947–1962

    Article  Google Scholar 

  • Xia Z, Wang X, Sun X, Wang B (2014) Steganalysis of least significant bit matching using multi-order differences. Secur Commun Netw 7(8):1283–1291

    Article  Google Scholar 

  • Xie S, Wang Y (2014) Construction of tree network with limited delivery latency in homogeneous wireless sensor networks. Wirel Pers Commun 78(1):231–246

    Article  Google Scholar 

  • Xu P, Miao Q, Shi C, Zhang J, Li W (2012) An edge detection algorithm based on the multi-direction shear transform. J Vis Commun Image Represent 23(5):827–833

    Article  Google Scholar 

  • Yang Z, Tang K, Yao X (2008) Large scale evolutionary optimization using cooperative coevolution. Inf Sci 178(15):2985–2999

    Article  MathSciNet  MATH  Google Scholar 

  • Yu F, Li Y, Wei B, Kuang L (2015) Image retrieval based on interactive differential evolution. In: 2015 IEEE congress on evolutionary computation (CEC), pp 3124–3131

  • Zhang J, Sanderson AC (2009) Jade: Adaptive differential evolution with optional external archive. IEEE Trans Evol Comput 13(5):945–958

    Article  Google Scholar 

  • Zheng Y, Jeon B, Xu D, Wu QJ, Zhang H (2015) Image segmentation by generalized hierarchical fuzzy c-means algorithm. Intell Fuzzy Syst 28(2):961–973

    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, s2013010013432, 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, 2012B040305011, 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, 2014B050013016), 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

Conflicts of interest

All authors of this paper declare that they 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

Communicated by V. Loia.

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. Improving sampling-based image matting with cooperative coevolution differential evolution algorithm. Soft Comput 21, 4417–4430 (2017). https://doi.org/10.1007/s00500-016-2250-7

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-016-2250-7

Keywords

Navigation