Image Matting without Matting-Specific Annotations via Eikonal Fields
Abstract
Image matting aims to estimate a continuous alpha matte that separates foreground objects from the background. However, existing deep matting methods still rely heavily on task-specific supervision for matting, including alpha mattes and trimaps, which are costly to annotate and limit their applicability in annotation-scarce scenarios. To address this limitation, we propose FreeMatte, a novel framework that learns to predict high-quality alpha mattes without relying on alpha matte or trimap supervision. The proposed framework formulates the construction of matting supervision as a foreground-driven wavefront propagation process. Starting from a coarse localization prior generated by an off-the-shelf segmentation foundation model, it solves an Eikonal equation constructed from the prior and the input image itself to obtain an arrival-time field that encodes how readily each pixel can be reached from the coarse foreground source. The arrival-time field is then used to identify high-confidence background pixels for sparse supervision and to modulate local consistency constraints, providing indirect supervision for alpha prediction. Experiments on AM-2K, AIM-500, P3M-500-NP, and RefMatte-RW-100 demonstrate the effectiveness of FreeMatte, which achieves competitive performance on AM-2K and P3M-500-NP.