Skip to main content
Log in

Micro-scale searching algorithm for high-resolution image matting

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Natural image matting based on pixel pair optimization is commonly employed during image post-processing. However, obtaining high-quality alpha mattes for high-resolution images via existing image matting methods is challenging as it typically requires considerable computational resources. In this paper, we design a novel optimization information transmission strategy that can be applied to images of different resolutions to improve the quality of the transmitted information required for evolutionary optimization. In addition, we propose a micro-scale searching matting algorithm, which allows us to obtain high-quality matting for high-resolution images with limited computational resources. To verify the applicability of the proposed algorithm for high-resolution images, experiments were conducted on the alpha matting benchmark dataset. Experimental results show that the proposed micro-scale searching matting algorithm can estimate high-quality alpha mattes without incurring excessive computational resources. Moreover, the proposed algorithm outperforms the state-of-the-art optimized matting algorithms when applied to high-resolution images.

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
Algorithm 1
Algorithm 2
Fig. 3
Fig. 4

Similar content being viewed by others

Data availability

The datasets generated during and/or analyzed during the current study are available from the corresponding author on reasonable request.

References

  1. Kim S, Tai Y, Park J, Kweon IS (2016) Multi-view object extraction with fractional boundaries. IEEE Trans Image Process 25(8):3639–3654

    Article  MathSciNet  Google Scholar 

  2. Zou D, Chen X, Cao G, Wang X (2020) Unsupervised video matting via sparse and low-rank representation. IEEE Trans Pattern Anal Mach Intell 42(6):1501–1514

    Article  Google Scholar 

  3. Jin M, Kim BK, Song W (2014) Adaptive propagation-based color sampling for alpha matting. IEEE Trans Circuits Syst Video Technol 24(7):1101–1110

    Article  Google Scholar 

  4. Fan Z, Lu J, Wei C, Huang H, Cai X, Chen X (2019) A hierarchical image matting model for blood vessel segmentation in fundus images. IEEE Trans Image Process 28(5):2367–2377

    Article  MathSciNet  Google Scholar 

  5. Yağiz A, Tae-Hyun O, Sylvain P, Marc P, Wojciech M (2018) Semantic soft segmentation. ACM Trans Graph 37(4):1–13

    Google Scholar 

  6. Zhu Y, Li S, Luo X, Zhu K, Fu Q, Chen X, Gong H, Yu J (2018) A shared augmented virtual environment for real-time mixed reality applications. Comput Animat Virtual Worlds 29(5):e1805.1-e1805.14

    Article  Google Scholar 

  7. Liang Y, Huang H, Cai Z, Hao Z, Tan KC (2019) Deep infrared pedestrian classification based on automatic image matting. Appl Soft Comput 77:484–496

    Article  Google Scholar 

  8. Yang Y, Gou H, Tan M, Feng F, Liang Y, Xiang Y, Wang L, Huang H (2023) Multi-criterion sampling matting algorithm via gaussian process. Biomimetics 8(3):301. https://doi.org/10.3390/biomimetics803030

    Article  Google Scholar 

  9. Zhang Y, Tan M, Zhou Z, Yang Y, Liang Y, Feng F (2022) Natural image matting based on image inpainting. 2022 2nd International Conference on Computer Graphics, Image and Virtualization, pp 89–93

  10. Liang Y, Huang H, Cai Z, Hao Z, Feng F (2021) Survey of natural image matting. Comput Appl Res 38(05):1294–1301

    Google Scholar 

  11. Feng F, Huang H, Liang Y (2022) Graph-order optimization algorithm based on equal-in-space distance model for high-resolution image matting. IEEE 7th International Conference on Cloud Computing and Intelligent Systems (CCIS) 2022:122–127

  12. Liang Y, Gou H, Feng F, Liu G, Huang H (2023) Natural image matting based on surrogate model. Appl Soft Comput 110407:1–11

    Google Scholar 

  13. Liang Y, Huang H, Cai Z, Hao Z, Feng F (2021) Survey of natural image mapping technology. Appl Res Comput 38(5):1294–1301

    Google Scholar 

  14. Feng F, Huang H, Liu D, Liang Y (2022) Local complexity difference matting based on weight map and alpha mattes. Multimed Tools Appl 81:43357–43372

    Article  Google Scholar 

  15. Liu S, Feng F, Gou H, Zhou Z, Tan M, Wang L (2021) Grouping optimization algorithm for natural image matting. 2021 IEEE International Conference on Computer Science, Electronic Information Engineering and Intelligent Control Technology (CEI), pp 421–426

  16. Huang Q, Liu Y, Feng F, Liang Y (2022) Adaptive pixel pair evaluation method for image matting. 2022 15th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics, pp 1–8

  17. Cai Z, Lv L, Huang H, Hu H, Liang Y (2017) Improving sampling-based image matting with cooperative coevolution differential evolution algorithm. Soft Comput 21(15):4417–4430

    Article  Google Scholar 

  18. Liang Y, Huang H, Cai Z, Hao Z (2019) Multi-objective evolutionary optimization based on fuzzy multicriteria evaluation and decomposition for image matting. IEEE Trans Fuzzy Syst 27(5):1100–1111

    Article  Google Scholar 

  19. Feng F, Huang H, Zhang Y, Hao Z (2019) Comparative analysis for first hitting time of evolutionary algorithms based on equal-in-time model. Chines J Comput 42(10):2297–2308

    Google Scholar 

  20. Feng F, Wu Q, Ling X, Huang H, Liang Y, Cai Z (2020) An alpha matting algorithm based on collaborative swarm optimization for high-resolution images. Chin Sci: Inf Sci 50(3):424–437

    Google Scholar 

  21. Huang H, Feng F, Huang S, Chen L, Hao Z (2022) Microscale searching algorithm for coupling matrix optimization of automated microwave filter tuning. IEEE Trans Cybern 5(53):2829–2840

    Google Scholar 

  22. Liang Y, Feng F, Cai Z (2020) Pyramid matting: A resource-adaptive multi-scale pixel pair optimization framework for image matting. IEEE Access 8:93487–93498

    Article  Google Scholar 

  23. Li X, Liu K, Dong Y (2018) Super-pixel-based foreground extraction with fast adaptive trimaps. IEEE Trans Cybern 48(9):2609–2619

    Article  Google Scholar 

  24. Kim K, Kim D, Park S (2018) Image matting using feature combination and guided filter. IEEE Int Conf Consum Electron 2018:206–212

    Google Scholar 

  25. Cho D, Kim S, Tai YW, Kweon IS (2017) Automatic trimap generation and consistent matting for light-field images. IEEE Trans Pattern Anal Mach Intell 39(8):1504–1517

    Article  Google Scholar 

  26. Zhu X, Wang P, Huang Z (2018) Adaptive propagation matting based on transparency of image. Multimed Tools Appl 77:19089–19112

    Article  Google Scholar 

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

    Article  Google Scholar 

  28. He K, Rhemann C, Rother C, Tang X, Sun J (2011) A global sampling method for alpha matting. Conf Comput Vis Pattern Recogn 2011:2049–2056

    Google Scholar 

  29. Varnousfaderani E, Rajan D (2013) Weighted color and texture sample selection for image matting. IEEE Trans Image Process 22(11):4260–4270

    Article  MathSciNet  Google Scholar 

  30. Feng X, Liang X, Zhang Z (2016) A cluster sampling method for image matting via sparse coding. In: Leibe B, Matas J, Sebe N, Welling M (eds) Computer Vision – ECCV 2016. Lecture Notes in Computer Science, vol 9906. Springer, Cham, pp 204–219

  31. Karacan L, Erdem A, Erdem E (2017) Alpha matting with kl-divergencebased sparse sampling. IEEE Trans Image Process 26(9):4523–4536

    Article  MathSciNet  Google Scholar 

  32. Huang H, Liang Y, Yang X, Hao Z (2019) Pixel-level discrete multi-objective sampling for image matting. IEEE Trans Image Process 28(8):3739–3751

    Article  MathSciNet  Google Scholar 

  33. Mohapatra P, Das KN, Roy S (2020) Novel competitive swarm optimizer for sampling-based image matting problem. In: Elçi A, Sa P, Modi C, Olague G, Sahoo M, Bakshi S (eds) Smart Computing Paradigms: New Progresses and Challenges, vol 766. Springer, Singapore, pp 109–120

  34. Huang H, Lv L, Ye S, Hao Z (2019) Particle swarm optimization with convergence speed controller for large-scale numerical optimization. Soft Comput 23(12):44214437

    Article  Google Scholar 

  35. Rhemann C, Rother C, Wang J, Gelautz M, Kohli P, Rott P (2009) A perceptually motivated online benchmark for image matting. IEEE Conf Comput Vis Pattern Recogn 2009:1826–1833

    Google Scholar 

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

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported in part by the Guizhou Provincial Science and Technology Projects (QKHJCZK2022YB195, QKHJCZK2023YB143, QKHPTRCZCKJ2021007), in part by the Youth Science and Technology Talent Growth Project of Guizhou Province (QJHKY2021104), in part by the Natural Science Research Project of Education Department of Guizhou Province (QJJ2023061, QJJ2023012, QJJ2022015), in part by the Open Project of Key Laboratory of Pattern Recognition and Intelligent System of Guizhou Province (GZMUKL[2022]KF01), the National Natural Science Foundation of China under Grant 62002053, 62276103, in part by the Guangdong Basic and Applied Basic Research Foundation under Grant 2019A1515111082 and 2020A1515110504, in part by the Natural Science Foundation of Guangdong Province under Grant 2021A1515011866, 2020A1515010696 and 2022A1515011491, in part by the Natural Science Foundation of Sichuan Province under Grant 2022YFG0314, in part by the the Guangdong University Key Platforms and Research Projects under Grant 2018KZDXM066, in part by the Key Research and Development Program of Zhongshan under Grant 2019A4018, in part by the the Science and Technology Foundation of Guangdong Province under Grant 2021A0101180005, in part by the the Major Science and Technology Foundation of Zhongshan City under Grant 2019B2009, 2019A40027 and 2021A1003, in part by the Zhongshan Science and Technology Research Project of Social welfare under Grant 210714094038458 and 2020B2017.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hongshan Gou.

Ethics declarations

Conflict of interests

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Additional information

Publisher's Note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Feng, F., Gou, H., Liang, Y. et al. Micro-scale searching algorithm for high-resolution image matting. Multimed Tools Appl 83, 38931–38947 (2024). https://doi.org/10.1007/s11042-023-17157-0

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-17157-0

Keywords

Navigation