TensorX
返回文献探索

Paper · arXiv 2306.05399

Matting Anything

Jiachen Li, Jitesh Jain, Humphrey Shi

6 upvotesJune 8, 2023arXiv 预印本
AI 摘要

The Matting Anything Model (MAM) is a single, efficient image matting framework that leverages SAM and a lightweight M2M module for flexible user guidance and performs comparably to specialized models with fewer parameters.

Matting Anything ModelMAMalpha matteimage mattingsemantic mattinginstance mattingreferring image mattingSegment Anything ModelSAMMask-to-MatteM2M moduleiterative refinement

Abstract

In this paper, we propose the Matting Anything Model (MAM), an efficient and versatile framework for estimating the alpha matte of any instance in an image with flexible and interactive visual or linguistic user prompt guidance. MAM offers several significant advantages over previous specialized image matting networks: (i) MAM is capable of dealing with various types of image matting, including semantic, instance, and referring image matting with only a single model; (ii) MAM leverages the feature maps from the Segment Anything Model (SAM) and adopts a lightweight Mask-to-Matte (M2M) module to predict the alpha matte through iterative refinement, which has only 2.7 million trainable parameters. (iii) By incorporating SAM, MAM simplifies the user intervention required for the interactive use of image matting from the trimap to the box, point, or text prompt. We evaluate the performance of MAM on various image matting benchmarks, and the experimental results demonstrate that MAM achieves comparable performance to the state-of-the-art specialized image matting models under different metrics on each benchmark. Overall, MAM shows superior generalization ability and can effectively handle various image matting tasks with fewer parameters, making it a practical solution for unified image matting. Our code and models are open-sourced at https://github.com/SHI-Labs/Matting-Anything.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Matting Anything | TensorX