Enhancing Image Matting in Real-World Scenes with Mask-Guided Iterative Refinement
Rui Liu
TL;DR
Mask2Alpha tackles the challenging problem of real-world image matting by integrating mask-guided, self-supervised semantic guidance with iterative refinement. It combines a Mask-Guided Image Encoder, a multi-stage Iterate Decoding pipeline, and a Self-Guided Sparse Detail Recovery module to progressively produce high-quality alpha mattes from coarse to high-resolution representations. Key contributions include a region-aware attention mechanism guided by masks, a unidirectional state-transition refinement scheme with confidence-guided sampling, and adaptive sparse detail recovery to maintain efficiency while preserving boundary detail. The approach demonstrates state-of-the-art performance across diverse real-world datasets, with strong generalization and improved instance awareness, offering a practical, efficient solution for matting in complex scenes.
Abstract
Real-world image matting is essential for applications in content creation and augmented reality. However, it remains challenging due to the complex nature of scenes and the scarcity of high-quality datasets. To address these limitations, we introduce Mask2Alpha, an iterative refinement framework designed to enhance semantic comprehension, instance awareness, and fine-detail recovery in image matting. Our framework leverages self-supervised Vision Transformer features as semantic priors, strengthening contextual understanding in complex scenarios. To further improve instance differentiation, we implement a mask-guided feature selection module, enabling precise targeting of objects in multi-instance settings. Additionally, a sparse convolution-based optimization scheme allows Mask2Alpha to recover high-resolution details through progressive refinement,from low-resolution semantic passes to high-resolution sparse reconstructions. Benchmarking across various real-world datasets, Mask2Alpha consistently achieves state-of-the-art results, showcasing its effectiveness in accurate and efficient image matting.
