Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Tensorial Evolutionary Optimization for Natural Image Matting

Published: 27 March 2024 Publication History

Abstract

Natural image matting has garnered increasing attention in various computer vision applications. The matting problem aims to find the optimal foreground/background (F/B) color pair for each unknown pixel and thus obtain an alpha matte indicating the opacity of the foreground object. This problem is typically modeled as a large-scale pixel pair combinatorial optimization (PPCO) problem. Heuristic optimization is widely employed to tackle the PPCO problem owing to its gradient-free property and promising search ability. However, traditional heuristic methods often encode F/B solutions to a one-dimensional (1D) representation and then evolve the solutions in a 1D manner. This 1D representation destroys the intrinsic two-dimensional (2D) structure of images, where the significant spatial correlations among pixels are ignored. Moreover, the 1D representation also brings operation inefficiency. To address the above issues, this article develops a spatial-aware tensorial evolutionary image matting (TEIM) method. Specifically, the matting problem is modeled as a 2D Spatial-PPCO (S-PPCO) problem, and a global tensorial evolutionary optimizer is proposed to tackle the S-PPCO problem. The entire population is represented as a whole by a third-order tensor, in which individuals are classified into two types: F and B individuals for denoting the 2D F/B solutions, respectively. The evolution process, consisting of three tensorial evolutionary operators, is implemented based on pure tensor computation for efficiently seeking F/B solutions. The local spatial smoothness of images is also integrated into the evaluation process for obtaining a high-quality alpha matte. Experimental results compared with state-of-the-art methods validate the effectiveness of TEIM.

Supplementary Material

tomm-2023-0413-File003 (tomm-2023-0413-file003.docx)
Supplementary material

References

[1]
Radhakrishna Achanta, Appu Shaji, Kevin Smith, Aurelien Lucchi, Pascal Fua, and Sabine Süsstrunk. 2012. SLIC superpixels compared to state-of-the-art superpixel methods. IEEE Trans. Pattern Anal. Mach. Intell. 34, 11 (2012), 2274–2282.
[2]
Yagiz Aksoy, Tunc Ozan Aydin, and Marc Pollefeys. 2017. Designing effective inter-pixel information flow for natural image matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 29–37.
[3]
Benish Amin, Muhammad Mohsin Riaz, and Abdul Ghafoor. 2020. Automatic aircraft extraction using video matting and frame registration. IET Image Process. 14, 8 (2020), 1628–1635.
[4]
Zhao-Quan Cai, Liang Lv, Han Huang, Hui Hu, and Yi-Hui Liang. 2017. Improving sampling-based image matting with cooperative coevolution differential evolution algorithm. Soft Comput. 21 (2017), 4417–4430.
[5]
Zhao-Quan Cai, Liang Lv, Han Huang, and Yi-Hui Liang. 2019. A discrete bio-inspired metaheuristic algorithm for efficient and accurate image matting. Memet. Comput. 11 (2019), 53–64.
[6]
Guangying Cao, Jianwei Li, Zhiqiang He, and Xiaowu Chen. 2016. Divide and conquer: A self-adaptive approach for high-resolution image matting. In Proceedings of the IEEE International Conference on Virtual Reality and Visualization (ICVRV’16). IEEE, 24–30.
[7]
Qifeng Chen, Dingzeyu Li, and Chi-Keung Tang. 2013. KNN matting. IEEE Trans. Pattern Anal. Mach. Intell. 35, 9 (2013), 2175–2188.
[8]
Xiao Chen, Fazhi He, and Haiping Yu. 2017. A three-stage matting method. IEEE Access 5 (2017), 27732–27739.
[9]
Yung-Yu Chuang, Brian Curless, David H. Salesin, and Richard Szeliski. 2001. A Bayesian approach to digital matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition., Vol. 2. IEEE, II–II.
[10]
Yutong Dai, Hao Lu, and Chunhua Shen. 2021. Learning affinity-aware upsampling for deep image matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.6841–6850.
[11]
Henghui Ding, Hui Zhang, Chang Liu, and Xudong Jiang. 2022. Deep interactive image matting with feature propagation. IEEE Trans. Image Process. 31 (2022), 2421–2432.
[12]
F. Feng, Han Huang, Q. Wu, X. Ling, Y. Liang, and Z. Chai. 2020. An alpha matting algorithm based on collaborative swarm optimization for high-resolution images. Sci. Sin. Inform. 50, 3 (2020), 424–437.
[13]
Xiaoxue Feng, Xiaohui Liang, and Zili Zhang. 2016. A cluster sampling method for image matting via sparse coding. In Proceedings of the European Conference on Computer Vision (ECCV’16). Springer, 204–219.
[14]
Luis Pedro García, Javier Cuenca, and Domingo Giménez Cánovas. 2014. On optimization techniques for the matrix multiplication on hybrid CPU+ GPU platforms. Ann. Par. GPU Prog. 1, 1 (2014), 1–8.
[15]
Eduardo S. L. Gastal and Manuel M. Oliveira. 2010. Shared sampling for real-time alpha matting. In Proceedings of the Computer Graphics Forum, Vol. 29. Wiley Online Library, 575–584.
[16]
Kaiming He, Christoph Rhemann, Carsten Rother, Xiaoou Tang, and Jian Sun. 2011. A global sampling method for alpha matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 2049–2056.
[17]
Anna Katharina Hebborn, Nils Höhner, and Stefan Müller. 2017. Occlusion matting: Realistic occlusion handling for augmented reality applications. In Proceedings of the IEEE International Symposium on Mixed and Augmented Reality (ISMAR’17). IEEE, 62–71.
[18]
Qiqi Hou and Feng Liu. 2019. Context-aware image matting for simultaneous foreground and alpha estimation. In Proceedings of the IEEE International Conference on Computer Vision. 4130–4139.
[19]
Han Huang, Yihui Liang, Xiaowei Yang, and Zhifeng Hao. 2019. Pixel-level discrete multiobjective sampling for image matting. IEEE Trans. Image Process. 28, 8 (2019), 3739–3751.
[20]
Han Huang, Liang Lv, Shujin Ye, and Zhifeng Hao. 2019. Particle swarm optimization with convergence speed controller for large-scale numerical optimization. Soft Comput. 23 (2019), 4421–4437.
[21]
Jubin Johnson, Deepu Rajan, and Hisham Cholakkal. 2014. Sparse codes as Alpha Matte. In Proceedings of the British Machine Vision Conference (BMVC’14), Vol. 1. Citeseer, 5.
[22]
Jubin Johnson, Ehsan Shahrian Varnousfaderani, Hisham Cholakkal, and Deepu Rajan. 2016. Sparse coding for alpha matting. IEEE Trans. Image Process. 25, 7 (2016), 3032–3043.
[23]
Levent Karacan, Aykut Erdem, and Erkut Erdem. 2015. Image matting with KL-divergence based sparse sampling. In Proceedings of the IEEE International Conference on Computer Vision. 424–432.
[24]
Misha E. Kilmer and Carla D. Martin. 2011. Factorization strategies for third-order tensors. Linear Alg. Appl. 435, 3 (2011), 641–658.
[25]
Si-Chao Lei, Xiaolin Xiao, Yue-Jiao Gong, Yun Li, and Jun Zhang. 2022. Tensorial evolutionary computation for spatial optimization problems. IEEE Trans. Artif. Intell. (2022).
[26]
Dawa Chyophel Lepcha, Bhawna Goyal, and Ayush Dogra. 2021. Image matting: A comprehensive survey on techniques, comparative analysis, applications and future scope. Int. J. Image Graph. (2021), 2350011.
[27]
Anat Levin, Alex Rav-Acha, and Dani Lischinski. 2008. Spectral matting. IEEE Trans. Pattern Anal. Mach. Intell. 30, 10 (2008), 1699–1712.
[28]
Jizhizi Li, Jing Zhang, and Dacheng Tao. 2023. Deep image matting: A comprehensive survey. Retrieved from
[29]
Yaoyi Li and Hongtao Lu. 2020. Natural image matting via guided contextual attention. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 34. 11450–11457.
[30]
Zhengqin Li and Jiansheng Chen. 2015. Superpixel segmentation using linear spectral clustering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 1356–1363.
[31]
Lv Liang, Huang Han, Cai Zhaoquan, and Hu Hui. 2015. Using particle swarm large-scale optimization to improve sampling-based image matting. In Proceedings of the Genetic and Evolutionary Computation Conference. 957–961.
[32]
Yihui Liang, Hongshan Gou, Fujian Feng, Guisong Liu, and Han Huang. 2023. Natural image matting based on surrogate model. Appl. Soft Comput. 143 (2023), 110407.
[33]
Yihui Liang, Han Huang, and Zhaoquan Cai. 2020. PSO-ACSC: A large-scale evolutionary algorithm for image matting. Front. Comput. Sci. 14 (2020), 1–12.
[34]
Yihui Liang, Han Huang, Zhaoquan Cai, and Zhifeng Hao. 2019. Multiobjective evolutionary optimization based on fuzzy multicriteria evaluation and decomposition for image matting. IEEE Trans. Fuzzy Syst. 27, 5 (2019), 1100–1111.
[35]
Yihui Liang, Han Huang, Zhaoquan Cai, and Liang Lv. 2018. Particle swarm optimization with convergence speed controller for sampling-based image matting. In Intelligent Computing Theories and Application. Springer, 656–668.
[36]
Shanchuan Lin, Linjie Yang, Imran Saleemi, and Soumyadip Sengupta. 2022. Robust high-resolution video matting with temporal guidance. In Proceedings of the IEEE International Conference on Computer Vision. IEEE, 238–247.
[37]
Shuang Liu, Fujian Feng, Hongshan Gou, Zhulian Zhou, Man Tan, and Lin Wang. 2021. Grouping optimization algorithm for natural image matting. In Proceedings of the International Conference on Computer Science, Electronic Information Engineering, and Intelligent Control Technology (CEI’21). 421–426.
[38]
Xiaofei Qin and Zepei Fan. 2019. Initial matting-guided visual tracking with siamese network. IEEE Access 7 (2019), 41669–41677.
[39]
Christoph Rhemann, Carsten Rother, Jue Wang, Margrit Gelautz, Pushmeet Kohli, and Pamela Rott. 2009. A perceptually motivated online benchmark for image matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 1826–1833.
[40]
Ehsan Shahrian and Deepu Rajan. 2012. Weighted color and texture sample selection for image matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 718–725.
[41]
Ehsan Shahrian, Deepu Rajan, Brian Price, and Scott Cohen. 2013. Improving image matting using comprehensive sampling sets. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 636–643.
[42]
Jian Sun, Jiaya Jia, Chi-Keung Tang, and Heung-Yeung Shum. 2004. Poisson matting. In Proceedings of the ACM SIGGRAPH. 315–321.
[43]
Jingwei Tang, Yagiz Aksoy, Cengiz Oztireli, Markus Gross, and Tunc Ozan Aydin. 2019. Learning-based sampling for natural image matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 3055–3063.
[44]
Ehsan Shahrian Varnousfaderani and Deepu Rajan. 2013. Weighted color and texture sample selection for image matting. IEEE Trans. Image Process. 22, 11 (2013), 4260–4270.
[45]
Jue Wang and Michael F. Cohen. 2007. Optimized color sampling for robust matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 1–8.
[46]
Rui Wang, Jun Xie, Jiacheng Han, and Dezhen Qi. 2022. Improving deep image matting via local smoothness assumption. In Proceedings of the IEEE International Conference on Multimedia and Expo. IEEE, 1–6.
[47]
Tianyi Wei, Dongdong Chen, Wenbo Zhou, Jing Liao, Hanqing Zhao, Weiming Zhang, and Nenghai Yu. 2021. Improved image matting via real-time user clicks and uncertainty estimation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 15374–15383.
[48]
Xueming Yan, Zhifeng Hao, and Han Huang. 2018. Alpha matting with image pixel correlation. Int. J. Mach. Learn. Cyb. 9 (2018), 621–627.
[49]
Liang Yihui, Feng Fujian, and Cai Zhaoquan. 2020. Pyramid matting: A resource-adaptive multi-scale pixel pair optimization framework for image matting. IEEE Access 8 (2020), 93487–93498.
[50]
Genji Yuan, Jinjiang Li, and Zhen Hua. 2021. Image matting trimap optimization by ant colony algorithm. Multimed. Tools Appl. 80, 4 (2021), 6143–6169.
[51]
Zhi-Hui Zhan, Jun Zhang, Ying Lin, Jian-Yu Li, Ting Huang, Xiao-Qi Guo, Feng-Feng Wei, Sam Kwong, Xin-Yi Zhang, and Rui You. 2021. Matrix-based evolutionary computation. IEEE Trans. Em. Top. Comp. I. 6, 2 (2021), 315–328.
[52]
Xiangyu Zhu, Ping Wang, and Zhenghai Huang. 2018. Adaptive propagation matting based on transparency of image. Multimed. Tools Appl. 77 (2018), 19089–19112.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Multimedia Computing, Communications, and Applications
ACM Transactions on Multimedia Computing, Communications, and Applications  Volume 20, Issue 7
July 2024
973 pages
EISSN:1551-6865
DOI:10.1145/3613662
  • Editor:
  • Abdulmotaleb El Saddik
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 27 March 2024
Online AM: 23 February 2024
Accepted: 05 February 2024
Revised: 04 October 2023
Received: 08 June 2023
Published in TOMM Volume 20, Issue 7

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Natural image matting
  2. tensorial evolutionary algorithm
  3. heuristic optimization

Qualifiers

  • Research-article

Funding Sources

  • National Natural Science Foundation of China
  • Guangdong Natural Science Funds for Distinguished Young Scholars
  • Guangdong Regional Joint Funds for Basic and Applied Research
  • TCL Young Scholars Program

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 140
    Total Downloads
  • Downloads (Last 12 months)140
  • Downloads (Last 6 weeks)14
Reflects downloads up to 10 Nov 2024

Other Metrics

Citations

View Options

Get Access

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Full Text

View this article in Full Text.

Full Text

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media