Pixel space diffusion transformers improve image matting accuracy
High-Fidelity Image Matting with Pixel-Space Diffusion Transformers
Computer Vision and Pattern Recognition
Summary
Image matting is like cutting out objects from photos with very fine edges. Existing methods use compressed image versions that lose some sharp details. The authors show a new approach called PixelMatte that works on full pixel images to better capture tiny details. They use a special model that treats images and extra information as aligned pieces to predict the cutout in one step. Their method improves both the accuracy and sharpness of separating objects in photos.
What this means in practice
- •For photo editing software teams: Integrate PixelMatte to produce more precise object cutouts with finer boundary details for better image editing tools.$Commercial implications: Improves object extraction quality in photo editors, enabling companies to sell enhanced editing features.
- •For video production studios: Use PixelMatte for faster and higher-fidelity foreground extraction in video compositing workflows, improving visual effects quality.
Authors
Baihan Yang, Xin Lin, Yufan Wei, Baiang Li, Yuheng Liu, Juanxi Tian, Xiaohui Xie, Truong Nguyen
Abstract
Diffusion models have shown strong potential for image matting by transferring generative priors learned from large-scale pretraining. However, existing approaches largely rely on latent diffusion models, whose compressed representations and VAE-based reconstruction introduce a mismatch with the high-frequency precision required for matting. We present PixelMatte, a framework that adapts pretrained pixel-space diffusion transformers for high-fidelity image matting. We show that strong image-conditioned matting capabilities can be acquired even from a pure text-to-image model without paired image-to-image pretraining. Our approach reuses the backbone's native patch embedding to jointly process the input image, trimap, and noisy alpha matte as spatially aligned tokens, enabling direct pixel-space prediction without additional condition encoders or adapters. With pixel-accurate synthetic supervision and real-image fine-tuning, PixelMatte predicts alpha mattes in a single forward pass. Two lightweight calibration modules, LayerShift and High-Pass Refiner, further improve regional opacity accuracy and boundary fidelity. Experiments across four benchmarks and two distinct pixel diffusion backbones demonstrate substantial improvements over existing methods, reducing SAD and gradient errors by 24-44% relative to RenderMatte on P3M-500-NP and AM-2K, while achieving competitive performance on AIM-500 and RenderMatte-2K. These results demonstrate the effectiveness of pixel-space generative priors for precision-sensitive image matting. Project page: https://white-yc.github.io/pixelmatte/.