the integral of the lengths of every rule. With this
definition, a minimal surface with assigned boundary
conditions is obtained requiring every rule to have
minimal length.
3 THE COMPLETION MODEL
3.1 Basic Model
In this section we present our completion model in the
rototraslation group, (see also (Citti and Sarti, 2006))
Let’s consider an image with an occlusion and let
us call D the missing part in the two dimensional do-
main. In order to complete it, we lift the image to a
surface in the Sub-Riemannian space. This lifted sur-
face will have a hole, which will be completed with a
minimal surface. Indeed, using relation (1), in (Citti
and Sarti, 2006) it has been proved that the subrie-
mannian minimization of the surface area gives rise to
the minimization on the rules on the surfaces, whose
projection are the elastica curves. Hence the mini-
mization of the first order area functional on R
2
× S
1
correspond to the minimisation of a second order cur-
vature functional on the image plane (Ambrosio and
Masnou, 2005) (Masnou and Morel, 1998).
The method we will use is the following: first we
lift the non occluded part of the image with eq. (3) to
a function u defined on (R
2
\D)× S
1
. In the occluded
region D × S
1
we assign value zero to the function u.
Later we built an initial surface in the missing region.
Finally we evolve this surface with an approximated
diffusion driven mean curvature flow until it becomes
minimal. This is a two step algorithm of diffusion and
concentration, as shown in (Citti and Sarti, 2006):
• Diffusion of existing information in the subrie-
mannian space with the sub-laplacian.
• Concentration of diffused information on the fiber
S
1
over every point (x, y).
3.2 Algorithmic Implementation
The image I is lifted to a surface, represented by the
maxima over the fiber S
1
of a function u, by using
equation (3) The first step is to propagate existing in-
formation from the boundary of the missing region
D × S
1
with sub-riemannian diffusion:
∂
t
u =
∆
SR
u if (x,y, θ) ∈ D × S
1
∂
θθ
u if (x,y,θ) ∈ (R
2
\ D) × S
1
,t ∈ [0,h]
u(0) = u
0
(7)
This first step is necessary to initialize the func-
tion u to be a rough solution, which will be refined by
diffusion driven mean curvature flow.
In fact after the initial propagation, a mean cur-
vature evolution of the function u is implemented by
using a two step iterative algorithm consisting in al-
ternative diffusion and concentration:
• Diffuse with the Sub-Laplacian operator (5) for a
short time with fixed boundary conditions in the
boundary of D × S
1
.
In the occluded region we diffuse using the sub-
Laplacian operator. This operator propagates data
in the direction of the vectors X
1
and X
2
. The dif-
fusion in the direction of X
1
alone would expand
into the occlusion the information taken from the
boundary just in a straight line parallel to the (x,y)
plane. By adding the diffusion in the X
2
direc-
tion, we allow propagation on curvilinear paths
on R
2
× S
1
, even if we make thicker the surface
represented by u as a side effect. Outside D × S
1
we use the equation u
t
= u
θθ
just to keep the same
thickness of the surface as in the interior of D×S
1
.
Note that if we just use this equation for a short
time the maximum of u is not moved and there-
fore the surface Σ does not change. For the dis-
occlution problem it is only necessary to consider
values of u near the boundary of D × S
1
. Only
this values will be propagated inside D ×S
1
. Nev-
ertheless, for improving the visualization we will
consider a larger domain outside D × S
1
.
• Concentrate the function u over the surface, i.e.
make thinner the thick version of the surface.
After diffusing u for a period of time h, we per-
form a concentration over its maximum and denote ¯u
the new function which implicitly define the concen-
trated surface:
¯u(x,y,θ) =
u(x,y,θ)
u
max
(x,y)
γ
, γ > 1 (8)
where:
u
max
(x,y) = max
θ∈S
1
{u(x,y,θ)} (9)
This procedure renormalize the function u in such a
way that the maximum over each fiber is 1. The con-
centration, obtained elevating the function u to a suit-
able power greater than one, preserves the value of the
maximum and reduces all the other values of u. Thus
this mechanism concentrates the function around its
maximum.
3.3 Multiple Concentration
The three dimensionality of the space allows the co-
existence of occluded and occluding objects at the
VISAPP 2008 - International Conference on Computer Vision Theory and Applications
50