Automatic Image Matting with Attention Mechanism and Feature Fusion

被引:0
|
作者
Wang X. [1 ]
Wang Q. [1 ]
Yang G. [1 ]
Guo X. [1 ]
机构
[1] College of Electronic Information and Automation, Tianjin University of Science & Technology, Tianjin
来源
Wang, Qiqi (wangqiqi@tust.edu.cn) | 2020年 / Institute of Computing Technology卷 / 32期
关键词
Alpha image matting; Attention mechanism; Feature fusion; Instance segmentation;
D O I
10.3724/SP.J.1089.2020.18121
中图分类号
学科分类号
摘要
In response to the current problem of the excessive workload of manual matting and the inability of automatic matting to distinguish between multiple instances, an automatic matting algorithm with attention mechanism and feature fusion is proposed. The algorithm consists of two parts, the pre-seg¬mentation module and the Alpha matting module, which adopt different structures respectively. The pre- segmentation module uses transfer learning method to fine-tune a mask scoring R-CNN to implement instance segmentation of multi-instance natural images and obtain a binary segmentation of the foreground individuals. Based on this, the Alpha module first pre-processes the binary segmentation map into a generate trimap, which is then fed into the Alpha matting module network along with the original input image. By designing different decoding strategies and attention mechanisms for the Alpha matting module, the accurate recovery of input image details is achieved. In a follow-up comparison experiment of foreground vehicle Alpha estimation, which uses a homemade vehicle data set but without human interaction, this algorithm achieves a higher matting accuracy with 19.2% lower SAD and 26.3% lower MSE than the existing DIM algorithm. © 2020, Beijing China Science Journal Publishing Co. Ltd. All right reserved.
引用
收藏
页码:1473 / 1483
页数:10
相关论文
共 29 条
  • [1] Ran Qing, Feng Jieqing, Automatic human body foreground matting algorithm, Journal of Computer-Aided Design & Computer Graphics, 32, 2, pp. 277-286, (2020)
  • [2] Porter T K, Duff T., Compositing digital images, Proceedings of International Conference on ACM SIGGRAPH Computer Graphics and Interactive Techniques. Techniques, 18, 3, pp. 253-259, (1984)
  • [3] Gastal E S L, Oliveira M M., Shared sampling for real-time alpha matting, Computer Graphics Forum, 29, 2, pp. 575-584, (2010)
  • [4] He K M, Rhemann C, Rother C, Et al., A global sampling method for alpha matting, Proceedings of the IEEE Conference on Computer Vision & Pattern Recognition, pp. 2049-2056, (2011)
  • [5] Shahrian E, Rajan D, Price B, Et al., Improving image matting using comprehensive sampling sets, Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 636-643, (2013)
  • [6] Wang J, Cohen M F., Optimized color sampling for robust matting, Proceedings of the IEEE Conference on Computer Vision & Pattern Recognition, pp. 1-8, (2007)
  • [7] Chuang Y Y, Curless B, Salesin D H, Et al., A Bayesian approach to digital matting, Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, pp. 264-271, (2001)
  • [8] Aksoy Y, Aydin T O, Pollefeys M., Designing effective inter-pixel information flow for natural image matting, Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 228-236, (2017)
  • [9] Chen Q F, Li D, Tang C K., KNN matting, IEEE Transactions on Pattern Analysis and Machine Intelligence, 35, 9, pp. 2175-2188, (2013)
  • [10] Levin A, Lischinski D, Weiss Y., A closed-form solution to natural image matting, IEEE Transactions on Pattern Analysis and Machine Intelligence, 30, 2, pp. 228-242, (2008)