
Edge-Based Variational Snakes and Active Contours 185
to
G
′
(0) =
ˆ
Ω
g δ
′
ǫ
(Φ)|∇Φ|Ψ dx −
ˆ
Ω
div
gδ
ǫ
(Φ)
∇Φ
|∇Φ|
Ψ dx
+
ˆ
∂Ω
g
δ
ǫ
(Φ)
|∇Φ|
∂Φ
∂~n
Ψ dσ + ν
ˆ
Ω
g δ
ǫ
(Φ) Ψ dx,
=
ˆ
Ω
g δ
′
ǫ
(Φ)|∇Φ|Ψ dx −
ˆ
Ω
δ
ǫ
(Φ) div
g
∇Φ
|∇Φ|
Ψ dx
−
ˆ
Ω
g δ
′
ǫ
(Φ)|∇Φ|Ψ dx +
ˆ
∂Ω
g
δ
ǫ
(Φ)
|∇Φ|
∂Φ
∂~n
Ψ dσ
+ ν
ˆ
Ω
g δ
ǫ
(Φ) Ψ dx,
= −
ˆ
Ω
δ
ǫ
(Φ) div
g
∇Φ
|∇Φ|
Ψ dx + ν
ˆ
Ω
g δ
ǫ
(Φ) Ψ dx
+
ˆ
∂Ω
g
δ
ǫ
(Φ)
|∇Φ|
∂Φ
∂~n
Ψ dσ.
We deduce that the obtained Euler–Lagrange equation formally is
0 = −δ
ǫ
(Φ) div
g
∇Φ
|∇Φ|
+ ν g δ
ǫ
(Φ), (9.16)
with boundar y conditions g
δ
ǫ
(Φ)
|∇Φ|
∂Φ
∂~n
= 0 on ∂Ω . Local minima of this energy
are obtained by driving to steady state the Euler–La grange equation in the
unknown Φ(x, t), t ≥ 0, x ∈ Ω,
∂Φ
∂t
= δ
ǫ
(Φ)
div
g
∇Φ
|∇Φ|
− νg