SAM2Matting: Generalized Image and Video Matting
About
Despite impressive advances in image matting, video matting remains challenging due to the inherent gap between high-level tracking, which requires frame-wise understanding, and low-level matting, which focuses on extremely fine-grained details. Existing methods attempt this with expensive and narrowly-scoped video matting datasets, which may limit out-of-domain generalization and compromise tracking robustness. We rethink the paradigm with SAM2Matting, a tracker-to-matting framework that advances VOS trackers to high-fidelity video matting. Specifically, it decouples the task by enhancing a foundational tracker (e.g., SAM2, SAM3) with a region-proposal bridge and dedicated matting heads, enabling the uncompromised tracker to handle temporal consistency while the matting components resolve fine-grained details. Notably, despite being trained only on images, SAM2Matting establishes new state-of-the-art performance on video matting, supports diverse prompt types, maintains strong temporal consistency, and demonstrates robust generalization across both human-centric and in-the-wild scenarios.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Matting | P3M-500-NP | SAD6.58 | 44 | |
| Video Matting | V-HIM60 Medium | Grad3.64 | 18 | |
| Video Matting | VideoMatte | Inference Speed (FPS)40.46 | 18 | |
| Image Matting | AM-2k (test) | SAD7.43 | 17 | |
| Video Matting | V-HIM60 Hard | MAD (Mean Absolute Difference)14.37 | 9 | |
| Video Matting | VideoMatte-SD | MAD4.44 | 9 | |
| Image Matting | PPM-100 | MAD4.23 | 7 | |
| Video Matting | VideoMatte | VRAM (GB) (720p)3.08 | 5 |