Gradient vector flow (GVF), a
computer vision
Computer vision is an Interdisciplinarity, interdisciplinary scientific field that deals with how computers can gain high-level understanding from digital images or videos. From the perspective of engineering, it seeks to understand and automate t ...
framework introduced by Chenyang Xu and
Jerry L. Prince
Jerry L. Prince is the William B. Kouwenhoven Professor of Electrical and Computer Engineering at Johns Hopkins University. He has over 44,000 citations, and an h-index of 85.
Prince received a BS degree in Electrical Engineering and Computer Sc ...
,
is the vector field that is produced by a process that smooths and diffuses an input vector field. It is usually used to create a vector field from images that points to object edges from a distance. It is widely used in image analysis and computer vision applications for object tracking, shape recognition,
segmentation, and
edge detection
Edge detection includes a variety of mathematical methods that aim at identifying edges, curves in a digital image at which the image brightness changes sharply or, more formally, has discontinuities. The same problem of finding discontinuiti ...
. In particular, it is commonly used in conjunction with
active contour model Active contour model, also called snakes, is a framework in computer vision introduced by Michael Kass, Andrew Witkin, and Demetri Terzopoulos for delineating an object outline from a possibly noisy 2D image. The snakes model is popular in comput ...
.
Background
Finding objects or homogeneous regions in images is a process known as image segmentation. In many applications, the locations of object edges can be estimated using local operators that yield a new image called an edge map. The edge map can then be used to guide a deformable model, sometimes called an
active contour or a snake, so that it passes through the edge map in a smooth way, therefore defining the object itself.
A common way to encourage a deformable model to move toward the edge map is to take the spatial gradient of the edge map, yielding a vector field. Since the edge map has its highest intensities directly on the edge and drops to zero away from the edge, these gradient vectors provide directions for the active contour to move. When the gradient vectors are zero, the active contour will not move, and this is the correct behavior when the contour rests on the peak of the edge map itself. However, because the edge itself is defined by local operators, these gradient vectors will also be zero far away from the edge and therefore the active contour will not move toward the edge when initialized far away from the edge.
Gradient vector flow (GVF) is the process that spatially extends the edge map gradient vectors, yielding a new vector field that contains
information about the location of object edges throughout the entire image domain. GVF is defined as a diffusion process operating on the
components of the input vector field. It is designed to balance the fidelity of the original vector field, so it is not changed too much,
with a regularization that is intended to produce a smooth field on its output.
Although GVF was designed originally for the purpose of segmenting objects using active contours attracted to edges, it has been since
adapted and used for many alternative purposes. Some newer purposes including defining a continuous medial axis representation,
regularizing image anisotropic diffusion algorithms,
finding the centers of ribbon-like objects,
constructing graphs for optimal surface segmentations,
creating a shape prior,
and much more.
Theory
The theory of GVF was originally described by Xu and Prince.
Let
be an edge map defined on the image domain. For uniformity of results, it is important to restrict the edge map intensities to lie between 0 and 1, and by convention
takes on larger values (close to 1) on the object edges. The gradient vector flow (GVF) field is given by the vector field
, 6 , border=y
The vector field kernel
\textstyle\mathbf has vectors that always point toward the origin but their magnitudes, determined in detail by the
function
m, decrease to zero with increasing distance from the origin.
The beauty of VFC is that it can be computed very rapidly using a fast Fourier transform (FFT), a multiplication, and an inverse FFT. The
capture range can be large and is explicitly given by the radius
R of the vector field kernel. A possible drawback of VFC is that weak
edges might be overwhelmed by strong edges, but that problem can be alleviated by the use of a hybrid method that switches to conventional
forces when the snake gets close to the boundary.
Properties. GVF has characteristics that have made it useful in many diverse applications. It has already been noted that
its primary original purpose was to extend a local edge field throughout the image domain, far away from the actual edge in many
cases. This property has been described as an extension of the ''capture range'' of the external force of an active contour
model. It is also capable of moving active contours into concave regions of an object's boundary. These two properties are illustrated
in Figure 3.
Previous forces that had been used as external forces (based on the edge map gradients and simply related variants) required pressure
forces in order to move boundaries from large distances and into concave regions. Pressure forces, also called balloon forces, provide
continuous force on the boundary in one direction (outward or inward), and tend to have the effect of pushing through
weak boundaries. GVF can often replace pressure forces and yield better performance in such situations.
Because the diffusion process is inherent in the GVF solution, vectors that point in opposite directions tend to compete as they meet at a
central location, thereby defining a type of geometric feature that is related to the boundary configuration, but not directly evident from
the edge map. For example, ''perceptual edges'' are gaps in the edge map which tend to be connected visually by human
perception.
GVF helps to connect them by diffusing opposing edge gradient vectors across the gap; and even though there
is no actual edge map, active contour will converge to the perceptual edge because the GVF vectors drive them there (see ).
This property carries over when there are so-called ''weak edges'' identified by regions of edge maps having lower values.
GVF vectors also meet in opposition at central locations of objects thereby defining a type of medialness. This property has been
exploited as an alternative definition of the skeleton of objects
and also as a way to initialize deformable models within objects such that convergence to the boundary is more likely.
Applications
The most fundamental application of GVF is as an external force in a deformable model. A typical application considers an image
\textstyle I(\mathbf) with an object delineated by intensity from its background. Thus, a suitable edge map
\textstyle f(\mathbf) could be defined by
, \nabla
(I(\mathbf) * G_(\mathbf)) \,,
, 7 , border=y
where
\textstyle G_ is a Gaussian blurring kernel with standard deviation
\textstyle\sigma and
* is convolution. This definition is applicable in any dimension and yields an edge map that falls in the range
,1/math>. Gaussian blurring is used primarily so that a
meaningful gradient vector can always be computed, but \sigma is generally kept fairly small so that true edge positions are not overly
distorted. Given this edge map, the GVF vector field \textstyle\mathbf(\mathbf) can be computed by solving (2).
The deformable model itself can be implemented in a variety of ways including parametric models such as the original
snake or active surfaces and implicit models including geometric deformable models. In the case
of parametric deformable models, the GVF vector field \mathbf can be used directly as the external forces in the model.
If the deformable model is defined by the evolution of the (two-dimensional) active contour \mathbf(s,t), then a simple
parametric active contour evolution equation can be written as
Here, the subscripts indicate partial derivatives and \gamma and
\alpha are user-selected constants.
In the case of geometric deformable models, then the GVF vector field \mathbf is first projected against the normal direction of
the implicit wavefront, which defines an additional speed function. Accordingly, then the evolution of the signed distance function
\textstyle\phi_t(\mathbf) defining a simple geometric deformable contour can be written as
where \kappa is the curvature of the contour and \alpha is a user-selected constant.
A more sophisticated deformable model formulation that combines
the geodesic active contour flow with GVF forces was proposed
in . This paper also shows how to apply the Additive
Operator Splitting schema for rapid computation of this segmentation method. The uniqueness and existence of this
combined model were proven in .
A further modification of this model by using an external force term minimizing GVF divergence was proposed in
to achieve even better segmentation for images with complex geometric objects.
GVF has been used to find both inner, central, and central cortical surfaces in the analysis of brain images, as shown in Figure 4. The
process first finds the inner surface using a three-dimensional geometric deformable model with conventional forces. Then the central
surface is found by exploiting the central tendency property of GVF. In particular, the cortical membership function of the human brain
cortex, derived using a fuzzy classifier, is used to compute GVF as if itself were a thick edge map. The computed GVF vectors point towards
the center of the cortex and can then be used as external forces to drive the inner surface to the central surface. Finally, another
geometric deformable model with conventional forces is used to drive the central surface to a position on the outer surface of the cortex.
Several notable recent applications of GVF include constructing graphs for optimal surface segmentation in spectral-domain optical coherence
tomography volumes, a learning based probabilistic GVF active contour formulation to give more weights to objects
of interest in ultrasound image segmentation, and an adaptive multi-feature GVF active contour
for improved ultrasound image segmentation without hand-tuned parameters.
Related concepts
Deformable models
* Active contour model Active contour model, also called snakes, is a framework in computer vision introduced by Michael Kass, Andrew Witkin, and Demetri Terzopoulos for delineating an object outline from a possibly noisy 2D image. The snakes model is popular in comput ...
* Edge detection
Edge detection includes a variety of mathematical methods that aim at identifying edges, curves in a digital image at which the image brightness changes sharply or, more formally, has discontinuities. The same problem of finding discontinuiti ...
References
{{reflist, 2
Computer vision