Shared Sampling for Real-Time Alpha Matting
Abstract
Image matting aims at extracting foreground elements from an image by means of color and opacity (alpha) estimation. While a lot of progress has been made in recent years on improving the accuracy of matting techniques, one common problem persisted: the low speed of matte computation. We present the first real-time matting technique for natural images and videos. Our technique is based on the observation that, for small neighborhoods, pixels tend to share similar attributes. Therefore, independently treating each pixel in the unknown regions of a trimap results in a lot of redundant work. We show how this computation can be significantly and safely reduced by means of a careful selection of pairs of background and foreground samples. Our technique achieves speedups of up to two orders of magnitude compared to previous ones, while producing high-quality alpha mattes. The quality of our results has been verified through an independent benchmark. The speed of our technique enables, for the first time, real-time alpha matting of videos, and has the potential to enable a new class of exciting applications.
BibTeX
@article {10.1111:j.1467-8659.2009.01627.x,
journal = {Computer Graphics Forum},
title = {{Shared Sampling for Real-Time Alpha Matting}},
author = {Gastal, Eduardo S. L. and Oliveira, Manuel M.},
year = {2010},
publisher = {The Eurographics Association and Blackwell Publishing Ltd},
ISSN = {1467-8659},
DOI = {10.1111/j.1467-8659.2009.01627.x}
}
journal = {Computer Graphics Forum},
title = {{Shared Sampling for Real-Time Alpha Matting}},
author = {Gastal, Eduardo S. L. and Oliveira, Manuel M.},
year = {2010},
publisher = {The Eurographics Association and Blackwell Publishing Ltd},
ISSN = {1467-8659},
DOI = {10.1111/j.1467-8659.2009.01627.x}
}