pixels can be vectorized into line segments concur-
rently. Hence, the problem is naturally decomposed
into four steps and three steps can be parallelized.
With this decomposition, our algorithm becomes not
so sensitive to the image resolution.
Our key contribution is a novel algorithm that
vectorizes the silhouettes in a raster image with high
efficiency. We make a decomposition on the problem
and take advantage of the potential parallelism to get
an acceleration. We also apply the algorithm into
several practical situations.
2 RELATED WORK
Comparing to raster images, vector images has the ad-
vantages of more compact in presentation, requiring
less space to store, convenient to transmit and edit,
artifact-free in display etc. Image vectorization tech-
niques aim at doing the raster-to-vector conversion
accurately and efficiently. It includes crude vector-
ization on binary images and advanced vectorization
on color images.
2.1 Image Vectorization
Crude Vectorization. Crude vectorization
concerns grouping the pixels in the raster image
into raw line fragments and representing the original
image with primary geometry like skeleton and
contour polygon. It is a fundamental process in the
interpretation of image elements (like curves, lines)
and can be used as preprocessing of applications like
cartoon animation, topographic map reconstruction,
SFS, etc.
Crude vectorization is often divided into two
classes: Thinning based methods (Smith, 1987)
and Non-thinning based methods (Jimenez and
Navalon, 1982). The former first thin the rastered
object into a one-pixel-wide skeleton with iterative
erosion, then these pixels are tracked into chain and
approximated with line segments. The latter first
extract the contour of the image, compute the medial
axis between the contour pixels and then do the line
segment approximation. Thinning based methods
lose line width information during erosion and is time
consuming. These disadvantages are compensated by
non-thinning based methods that may have gaps at
junctions. And both of these methods are sequential
and need a long process time. (Dori and Liu, 1999)
present a new medial axis pixel tracking strategy,
which can preserve the width information and avoid
distortion at junctions.
Advanced Vectorization. Advanced vectorization
approaches concentrate on accurate approximation
for all features in the raster image and take accuracy
as their first consideration. Triangle mesh based
methods (Zhao et al., 2013) first sample important
points in the image, then decompose this image into
a set of triangles and store the corresponding pixel
color on the triangle vertices. Inside each triangle,
the color of each pixel can be recalculated through
interpolation. (Xia et al., 2009) converts the image
plane into triangular patches with curved boundaries
instead of simple triangles and make the color dis-
tribution inside each patch more smooth. Diffusion
curve based methods (Orzan et al., 2013) first detect
the edges in the original image, based on which
it is converted into diffusion curve representation.
Then a Poisson Equation is solved to calculate the
final image. After vectorization by these methods,
image can be effectively compressed, features are
maintained or enhanced in different extent.
2.2 Image Vectorization in Applications
Cartoon Animation. In automatic cartoon anima-
tion, the artists only need to draw the key frames
and in-betweens are generated by shape matching and
interpolation. However, these techniques cannot be
directly used in raster images, but are more suitable
for vector-based graphics. Thus, a vectorization pro-
cess is required to convert a raster key frame into its
vector form. (Zou and Yan, 2001) subdivide the car-
toon character into non-overlapping triangles based
on which skeleton is extracted. Then artifacts are
removed at the junction points and intersection areas
by optimizing the triangles.There are also researches
(Zhang et al., 2009) on converting raster cartoon film
into its vector form because the vector version is
more easy to store, transmit, edit, display and so on.
They take temporal coherence into consideration to
alleviate flicker between cartoon frames.
Shape-from-Silhouette. Shape-from-Silhouette
(SFS) is a method of estimating 3D shape of an
object from its silhouette images. One famous
SFS technique is the visual hull (Laurentini, 1994;
Matusik et al., 2000). VH is defined as the maximal
shape that reproduces the silhouettes of a 3D
object from any viewpoint. It can be computed by
intersecting the visual cones created by the viewing
rays emanating from the camera center and passing
through the silhouette contours, which is originally
a chain of pixels. Most existing works adopt line
segments as an approximation of the silhouette
contour to reduce large amount of redundant
GRAPP 2016 - International Conference on Computer Graphics Theory and Applications
144