Consider a curve moving in a plane. Let be the initial curve.
is
obtained by moving
along its normal with a speed
which may depend on the curvature and image gradient.
One approach to solving this would be to put marker points and advance their position by approximating the
spatial derivatives in the equations of motion. If the curve moves with a constant
, that is with no smoothing
term, singularities develop in the propagating front (figure 1). If a smoothing term is added, the front is not able
to model the sharp corners, see figure 1. What is desired is the entropy satisfying solution obtained as the limit
of smooth solutions.
The central idea in the level set approach is to represent the front as the level set {
} of
a higher dimensional function
. The goal is to produce an equation for the evolving function
which contains the embedded motion of
as the level set {
}. Let
, where
be defined by
The evolution equation turns out to be
The velocity has the form
A more detailed formulation can be found in [3].
There are several advantages of such a formulation as described in [3]. First, the function is always
smooth and non-intersecting , even though the corresponding contour (level set 0), may change topology, break, merge
and form sharp corners as
evolves.
Secondly, a discrete numerical approximation to the equation can be obtained. Replacing the derivatives by difference operators in equation 1 we get
Other advantages of this formulation are that curve properties like normal and curvature can be obtained directly
from the function and the method is easily extensible to higher dimensions.
The material presented in this section is laid out in more detail in [3,6].