Sampling Propagation Attention With Trimap Generation Network for Natural Image Matting

被引:7
作者
Zhou, Yuhongze [1 ,2 ]
Zhou, Liguang [2 ,3 ]
Lam, Tin Lun [2 ,3 ]
Xu, Yangsheng [2 ,3 ]
机构
[1] McGill Univ, Sch Comp Sci, Montreal, PQ H3A 0G4, Canada
[2] Shenzhen Inst Artificial Intelligence & Robot Soc, Shenzhen 518129, Peoples R China
[3] Chinese Univ Hong Kong, Sch Sci & Engn, Shenzhen 518172, Peoples R China
基金
中国国家自然科学基金;
关键词
Image segmentation; Task analysis; Semantics; Pipelines; Estimation; Benchmark testing; Deep learning; Image matting; trimap generation network; sampling propagation attention;
D O I
10.1109/TCSVT.2023.3260025
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Natural image matting aims to precisely separate foreground objects from backgrounds using alpha mattes. Fully automatic natural image matting without external annotations is challenging. Well-performed matting methods usually require accurate labor-intensive handcrafted trimap as an extra input while the performance of automatic trimap generation method, e.g., erosion/dilation manipulation on foreground segmentation, fluctuates with segmentation quality. Therefore, we argue that how to produce a high-quality trimap using coarse segmentation is a major issue in automatic matting. In this paper, we present a two-stage trimap-free natural image matting pipeline that does not need trimap and background as input. Specifically, guided by a coarse segmentation, Trimap Generation Network (TGN) estimates a trimap where the coarse segmentation can be produced by segmentation/salient object detection/matting approaches, which enables more flexibility for matting to adapt into different scenarios. Then, with an estimated trimap as guidance, our Sampling Propagation Attention Matting Network (SPAMattNet) estimates an alpha matte. Different from previous propagation-based matting networks, inspired by traditional sampling/propagation matting approaches, we propose Sampling Propagation Attention (SPA) for matting network to incorporate sampling and propagation procedures in deep learning based manner for network explainability and performance improvement. It explicitly investigates local spatial and global semantic relationships to reconstruct alpha features. To better harvest sampling/propagation and local/global information, a Cross-Fusion Contextual Module (CFC) is introduced to aggregate features from different sources. Extensive experiments are conducted to show that our matting approach is competitive compared to other state-of-the-art methods in both trimap-free and trimap-needed aspects on several challenging matting benchmarks.
引用
收藏
页码:5828 / 5843
页数:16
相关论文
共 76 条
[1]   Designing Effective Inter-Pixel Information Flow for Natural Image Matting [J].
Aksoy, Yagiz ;
Aydin, Tunc Ozan ;
Pollefeys, Marc .
30TH IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2017), 2017, :228-236
[2]   A Novel Framework for Automatic Trimap Generation Using The Gestalt Laws of Grouping [J].
Al-Kabbany, Ahmad ;
Dubois, Eric .
VISUAL INFORMATION PROCESSING AND COMMUNICATION VI, 2015, 9410
[3]  
[Anonymous], Supervisely person dataset
[4]  
Bishop Christopher M., 2006, Pattern recognition and machine learning
[5]   TransMatting: Enhancing Transparent Objects Matting with Transformers [J].
Cai, Huanqia ;
Xue, Fanglei ;
Xu, Lele ;
Guo, Lili .
COMPUTER VISION, ECCV 2022, PT XXIX, 2022, 13689 :253-269
[6]   Disentangled Image Matting [J].
Cai, Shaofan ;
Zhang, Xiaoshuai ;
Fan, Haoqiang ;
Huang, Haibin ;
Liu, Jiangyu ;
Liu, Jiaming ;
Liu, Jiaying ;
Wang, Jue ;
Sun, Jian .
2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2019), 2019, :8818-8827
[7]  
Chen LC, 2017, Arxiv, DOI [arXiv:1706.05587, 10.48550/arXiv.1706.05587]
[8]   DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs [J].
Chen, Liang-Chieh ;
Papandreou, George ;
Kokkinos, Iasonas ;
Murphy, Kevin ;
Yuille, Alan L. .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2018, 40 (04) :834-848
[9]   KNN Matting [J].
Chen, Qifeng ;
Li, Dingzeyu ;
Tang, Chi-Keung .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2013, 35 (09) :2175-2188
[10]   Semantic Human Matting [J].
Chen, Quan ;
Ge, Tiezheng ;
Xu, Yanyu ;
Zhang, Zhiqiang ;
Yang, Xinxin ;
Gai, Kun .
PROCEEDINGS OF THE 2018 ACM MULTIMEDIA CONFERENCE (MM'18), 2018, :618-626