Figure 1: Evolution of a closed curve C represented by a
function Φ between time intervals t and t+∆t.
2.1 Detail of Level Sets Method
C is the level curve of the object in evolution. Φ (X,
t) < 0 inside the curve, and Φ (X, t) > 0 outside the
curve. Φ (X, t) is null on the curve C.
The closed contour C –also called front or
interface -evolves according to the equation:
NF
t
.=
∂
(1)
F : propagation speed defined in each point of
the curve.
The level set principle is to consider the moving
curve or interface as the set of null values of a
function Φ.
We represent Φ by a 2 dimension matrix of real
numbers Φ(x,y). (x,y) are pixel coordinates on the
image. Values of Φ (x,y) that coincide with the
position of the curve C are initialized to zero. Values
of Φ (x,y) outside of the curve are positive and equal
to the euclidian distance to the curve, and the values
inside of the curve are negative.
The propagation front C is defined as:
{}
0),()( == txxC
φ
(2)
The Set
{}
0)0,()( ==txx
φ
defines
the initial contour.
Φ evolves according to the equation:
0. =∇+
φ
∂
N
t
(3)
N : normal unit vector to the curve,
φφ
∇−∇= /N
F (curve evolution speed): it depends on external
properties, such that physical image properties like
gray level intensity, and of intrinsic properties
concerning the curve itself like the discrete
curvature.
Generally, the most used speed propagation
formula is function of image gradient g and
curvature of curve κ :
)
κεα
.. +∇= cIgF
(4)
This function is used for comparison in section 4
of experimental results. c : constant, generally equal
to 1. ε : term 0 < ε < 1.
α = ± 1. For α =-1, the curve expands or
increases. For α =+1, the curve shrinks.
Ig ∇ : term that computes the stopping criterion
by image gradient. It allows to minimize the distance
–variation- between the external contour and real
image borders, so that the contour of the object
coincides with the gradient of the image.
The typical formula of g (image gradient) is (p=1
or 2):
()
()
()()
p
yxIyxG
yxIg
,*,1
1
,
σ
∇+
=∇
(5)
κ : curvature that represents the viscosity term of
the speed evolution function F and improves
smoothing of the curve. The formula below shows
the relation between normal to the curve φ and
curvature κ:
()
3
22
22
2
yx
xyyxyyxyxx
div
φφ
φφφφφφφ
φ
φ
κ
+
+−
=
⎟
⎟
⎠
⎞
⎜
⎜
⎝
⎛
∇
∇
=
(6)
The function F is proportional to the curvature
and inversely proportional to the grey level intensity.
It means in general that if F(p) ≈ 0, the curve is
stable at the point p, on the other hand if abs(F(p)) >
0, the contour is instable and a curve deformation at
the point p is necessary.
The general evolution principle of « Level
Sets » or level curves (Chopp, 1993) is to calculate F
on all image positions and to evolve each time the
curve or the front at the point having the maximal
value of F. A permanent update of the value F on
each new position is computed. Since calculation on
all pixel positions is time computing expensive, the
narrow band principle developed by (Sethian, 1996 ,
1999) and (Adalsteinsson & Sethian, 1995) and
introduced initially by (Chopp, 1993) reduces
strongly time computing and limits computing of F
at pixels situated on a narrow band of width d pixels
at the inside or the outside of the evolving front. We
fixed the value of d equal to 1 in our approach.
The Fast Marching Method (FMM) is applied on
all level sets if the curve is applied on level sets
Φ (p, t)
Φ (p, t+∆t)
APPLICATION OF SCALE ANALYSIS ON LEVEL SETS FOR COOPERATIVE IMAGE SEGMENTATION
225