Unifying Automatic and Interactive Matting with Pretrained ViTs
Zixuan Ye, Wenze Liu, He Guo, Yujia Liang, Chaoyi Hong, Hao Lu, Zhiguo Cao
Abstract
Automatic and interactive matting largely improve image matting by respectively alleviating the need for auxil-iary input and enabling object selection. Due to different settings on whether prompts exist, they either suffer from weakness in instance completeness or region details. Also, when dealing with different scenarios, directly switching between the two matting models introduces inconvenience and higher workload. Therefore, we wonder whether we can al-leviate the limitations of both settings while achieving unification to facilitate more convenient use. Our key idea is to offer saliency guidance for automatic mode to enable its attention to detailed regions, and also refine the instance completeness in interactive mode by replacing the binary mask guidance with a more probabilistic form. With different guidance for each mode, we can achieve unification through adaptable guidance, defined as saliency information in automatic mode and user cue for interactive one. It is instantiated as candidate feature in our method, an automatic switch for class token in pretrained ViTs and average feature of user prompts, controlled by the existence of user prompts. Then we use the candidate feature to generate a probabilistic similarity map as the guidance to alleviate the over-reliance on binary mask. Extensive experiments show that our method can adapt well to both automatic and inter-active scenarios with more light-weight framework. Code available at github.com/coconut/SMat.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext b567b1f0-1584-4dd7-8b59-c0d766358a78Cited by top-tier papers6
- Edit2Perceive: Image Editing Diffusion Models Are Strong Dense PerceiversYiqing Shi, Yiren Song, Mike Zheng ShouCVPR 2026 · 4 citations
- ZIM: Zero-Shot Image Matting for AnythingBeomyoung Kim, Chanyong Shin, Joonhyun Jeong, Hyungsik Jung et al.ICCV 2025 · 2 citations
- SDMATTE: Grafting Diffusion Models for Interactive MattingLongfei Huang, Yu Liang, Hao Zhang, Jinwei Chen et al.ICCV 2025 · 1 citation
- Matting Anything 2: Towards Video Matting for AnythingChenyi Zhang, Yiheng Lin, Yunchao Wei, Hongsong Wang et al.ICLR 2026
- Segment and Matte Anything in a Unified ModelZezhong Fan, Xiaohan Li, Topojoy Biswas, Kaushiki Nag et al.AAAI 2026
Builds on18
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
- MODNet: Real-Time Trimap-Free Portrait Matting via Objective DecompositionZhanghan Ke, Jiayu Sun, Kaican Li, Qiong Yan et al.AAAI 2022 · 220 citations
- Indices Matter: Learning to Index for Deep Image MattingHao Lu, Yutong Dai, Chunhua Shen, Songcen XuICCV 2019 · 206 citations
- Natural Image Matting via Guided Contextual AttentionYaoyi Li, Hongtao LuAAAI 2020 · 189 citations
Related papers
- Situational Perception Guided Image MattingBo Xu, Jiake Xie, Han Huang, Ziwen Li et al.ACM MM 2022 · 4 citations
- In-Context MattingHe Guo, Zixuan Ye, Zhiguo Cao, Hao LuCVPR 2024
- MaGGIe: Masked Guided Gradual Human Instance MattingChuong Huynh, Seoung Wug Oh, Abhinav Shrivastava, Joon-Young LeeCVPR 2024
- Virtual Multi-Modality Self-Supervised Foreground Matting for Human-Object InteractionBo Xu, Han Huang, Cheng Lu, Ziwen Li et al.ICCV 2021 · 7 citations
- Mask-Guided Matting in the WildKwanyong Park, Sanghyun Woo, Seoung Wug Oh, In So Kweon et al.CVPR 2023
