RANDOM WALKS FOR INTERACTIVE ALPHA-MATTING
Leo Grady and Thomas Schiwietz and Shmuel Aharon
Imaging and Visualization
Siemens Corporate Research
755 College Road East
Princeton, NJ, USA
Leo.Grady@siemens.com
R
¨
udiger Westermann
Technische Universit
¨
at M
¨
unchen
Lehrstuhl f
¨
ur Informatik 15
Boltzmannstrasse 3
85748 Garching, Germany
Figure 1. By computing the alpha matte as the probability that a random walker first reaches a foreground pixel, a simple, fast
algorithm is presented that is capable of producing quality results, even when applied to low-contrast images or objects with
difficult or weak boundaries.
ABSTRACT
1
Interactive, efficient, methods of foreground extraction
and alpha-matting are of increasing practical importance
for digital image editing. Although several new approaches
to this problem have recently been developed, many chal-
lenges remain. We propose a new technique based on ran-
dom walks that has the following advantages: First, by
leveraging a recent technique from manifold learning the-
ory, we effectively use RGB values to set boundaries for
the random walker, even in fuzzy or low-contrast images.
Second, the algorithm is straightforward to implement, re-
quires specification of only a single free parameter (set the
same for all images), and performs the segmentation and
alpha-matting in a single step. Third, the user may locally
fine tune the results by interactively manipulating the fore-
ground/background maps. Finally, the algorithm has an in-
herit parallelism that leads to a particularly efficient im-
plementation via the graphics processing unit (GPU). Our
method processes a 1024 × 1024 image at the interactive
speed of 0.5 seconds and, most importantly, produces high-
quality results. We show that our algorithm can generate
good segmentation and matting results at an interactive rate
with minimal user interaction.
KEY WORDS
Interactive Image Segmentation, Alpha Matting, Random
Walks, General Purpose GPU, Image Editing, Object Ex-
traction
1
Published in: Proceedings of the Fifth IASTED International Confer-
ence on Visualization, Imaging and Image Processing, J.J. Villanueva, Ed.
Benidorm, Spain: ACTA Press, Sept. 2005, pp. 423–429
1 Introduction
Interactive foreground extraction and alpha-matting of dig-
ital images remains a challenging problem. The difficulty
of this problem is a result of a simultaneous attempt to min-
imize user time/interaction, properly handle color, regular-
ize the ill-posedness of the alpha-matting model, provide an
efficient algorithm that is feasible to implement and, above
all, produce visually pleasing results for arbitrary images.
Recently, the computer vision community has developed
several algorithms that produce high-quality results for the
“hard” (i.e., binary) image segmentation problem. Al-
though some algorithms, such as the graph cuts approach
of Boykov and Jolly [1], produce quality results for hard
segmentation tasks on grayscale images, extra care must
be taken to extend those techniques to produce an alpha
matte on color images [2]. In contrast, the random walker
object extraction algorithm presented in [3] directly offers
the alpha matting. In this work, we make three extensions
to the algorithm presented in [3] to allow for application
in the interactive alpha-matting of digital images: 1) A
novel utilization of color information, 2) Use of random
walker probabilities as the alpha matte, and 3) Details for
an implementation on the graphics processor unit (GPU).
We show that the random walker algorithm has a straight-
forward, interactive-speed, implementation, requires speci-
fication of only a single free parameter (set consistently for
all images), performs the segmentation and alpha-matting
in a single step, finds an exact global energy minimum
and produces high-quality, visually pleasing, results, even
in the presence of low-contrast boundaries and noise. We
note also that this technique has straightforward extension
评论3
最新资源