Geodesic computation on a graph Graph: ( V, E ), V = { 1 , . . . , n - - PowerPoint PPT Presentation

geodesic computation on a graph
SMART_READER_LITE
LIVE PREVIEW

Geodesic computation on a graph Graph: ( V, E ), V = { 1 , . . . , n - - PowerPoint PPT Presentation

Geodesics and Fast Marching Methods Gabriel Peyr Laurent Cohen Jean-Marie Mirebeau C O L E N O R M A L E S U P R I E U R E Geodesic computation on a graph Graph: ( V, E ), V = { 1 , . . . , n } , E V 2 (symmetric). j y w i,j


slide-1
SLIDE 1

Geodesics and Fast Marching Methods

Gabriel Peyré Laurent Cohen Jean-Marie Mirebeau

É C O L E N O R M A L E S U P É R I E U R E

slide-2
SLIDE 2

Geodesic computation on a graph

2

Graph: (V, E), V = {1, . . . , n}, E ⊂ V 2 (symmetric). Cost: (wi,j)(i,j)∈E, wi,j > 0. Path: γ = (γ1, . . . , γK), (γk, γk+1) ∈ E. x y i j wi,j γ

slide-3
SLIDE 3

Geodesic computation on a graph

2

Graph: (V, E), V = {1, . . . , n}, E ⊂ V 2 (symmetric). Cost: (wi,j)(i,j)∈E, wi,j > 0. Path: γ = (γ1, . . . , γK), (γk, γk+1) ∈ E. Length: L(γ)

def.

= PK−1

k=1 wγk,γk+1.

Geodesic distance: d(x, y) = min

γ1=x,γK=y L(γ).

x y i j wi,j γ

slide-4
SLIDE 4

Geodesic computation on a graph

2

Graph: (V, E), V = {1, . . . , n}, E ⊂ V 2 (symmetric). Cost: (wi,j)(i,j)∈E, wi,j > 0. Path: γ = (γ1, . . . , γK), (γk, γk+1) ∈ E. Length: L(γ)

def.

= PK−1

k=1 wγk,γk+1.

Geodesic distance: d(x, y) = min

γ1=x,γK=y L(γ).

Difficulty: metrication error. x y i j wi,j γ

slide-5
SLIDE 5

Connections with Maxflow Problems

3

div(f)i

def.

= P

j⇠i fi,j,

r

def.

= div> Flow on edge: fj,i = −fi,j. i

f

i , j

>

fi,j0 < 0

j0 j

slide-6
SLIDE 6

Connections with Maxflow Problems

3

x y fi,j 6= 0 d(x, y) = min

f∈RE

nP

(i,j)∈E wi,j|fi,j| ; div(f) = δx − δy

  • → recast as max-flow.

div(f)i

def.

= P

j⇠i fi,j,

r

def.

= div> Flow on edge: fj,i = −fi,j. i

f

i , j

>

fi,j0 < 0

j0 j

slide-7
SLIDE 7

Connections with Maxflow Problems

3

x y fi,j 6= 0 d(x, y) ui 1 (ru)i,j/wi,j d(x, y) = min

f∈RE

nP

(i,j)∈E wi,j|fi,j| ; div(f) = δx − δy

  • → recast as max-flow.

= max

u∈RN {uy ; |(ru)i,j| 6 wi,j, ux = 0}

→ recast as min-cut. div(f)i

def.

= P

j⇠i fi,j,

r

def.

= div> Flow on edge: fj,i = −fi,j. i

f

i , j

>

fi,j0 < 0

j0 j

slide-8
SLIDE 8

Parametric Surfaces

4

Parameterized surface: u ⇥ R2 ⇤ ϕ(u) ⇥ M.

u1

u2

ϕ

∂ϕ ∂u1 ∂ϕ ∂u2

slide-9
SLIDE 9

Parametric Surfaces

4

Parameterized surface: u ⇥ R2 ⇤ ϕ(u) ⇥ M. Curve in parameter domain: t ⇥ [0, 1] ⇤ γ(t) ⇥ D.

u1

u2

ϕ

∂ϕ ∂u1 ∂ϕ ∂u2

γ γ

slide-10
SLIDE 10

Parametric Surfaces

4

Parameterized surface: u ⇥ R2 ⇤ ϕ(u) ⇥ M. Curve in parameter domain: t ⇥ [0, 1] ⇤ γ(t) ⇥ D. Geometric realization: ¯ γ(t)

def.

= ϕ(γ(t)) ∈ M.

u1

u2

ϕ

∂ϕ ∂u1 ∂ϕ ∂u2

γ ¯ γ γ ¯ γ

slide-11
SLIDE 11

Parametric Surfaces

4

Parameterized surface: u ⇥ R2 ⇤ ϕ(u) ⇥ M. Curve in parameter domain: t ⇥ [0, 1] ⇤ γ(t) ⇥ D. Geometric realization: ¯ γ(t)

def.

= ϕ(γ(t)) ∈ M.

For an embedded manifold M ⊂ Rn:

First fundamental form: Iϕ =

  • ∂ϕ

∂ui , ∂ϕ ∂uj ⇥ ⇥

i,j=1,2

.

u1

u2

ϕ

∂ϕ ∂u1 ∂ϕ ∂u2

L(γ)

def.

= 1 | |¯ γ(t)| |dt = 1 ⇥ γ(t)Iγ(t)γ(t)dt. Length of a curve γ ¯ γ γ ¯ γ

slide-12
SLIDE 12

Riemannian Manifold

5

Length of a curve γ(t) ∈ M: L(γ)

def.

= 1 ⇥ γ(t)TH(γ(t))γ(t)dt. Riemannian manifold: M ⊂ Rn (locally) Riemannian metric: H(x) ∈ Rn×n, symmetric, positive definite.

slide-13
SLIDE 13

Riemannian Manifold

5

Length of a curve γ(t) ∈ M: L(γ)

def.

= 1 ⇥ γ(t)TH(γ(t))γ(t)dt.

W(x)

Euclidean space: M = Rn, H(x) = Idn. Riemannian manifold: M ⊂ Rn (locally) Riemannian metric: H(x) ∈ Rn×n, symmetric, positive definite.

slide-14
SLIDE 14

Riemannian Manifold

5

Length of a curve γ(t) ∈ M: L(γ)

def.

= 1 ⇥ γ(t)TH(γ(t))γ(t)dt.

W(x)

Euclidean space: M = Rn, H(x) = Idn.

2-D shape: M ⊂ R2, H(x) = Id2. Riemannian manifold: M ⊂ Rn (locally) Riemannian metric: H(x) ∈ Rn×n, symmetric, positive definite.

slide-15
SLIDE 15

Riemannian Manifold

5

Length of a curve γ(t) ∈ M: L(γ)

def.

= 1 ⇥ γ(t)TH(γ(t))γ(t)dt.

W(x)

Euclidean space: M = Rn, H(x) = Idn.

2-D shape: M ⊂ R2, H(x) = Id2. Riemannian manifold: M ⊂ Rn (locally) Riemannian metric: H(x) ∈ Rn×n, symmetric, positive definite. Isotropic metric: H(x) = W(x)2Idn.

slide-16
SLIDE 16

Riemannian Manifold

5

Length of a curve γ(t) ∈ M: L(γ)

def.

= 1 ⇥ γ(t)TH(γ(t))γ(t)dt.

W(x)

Euclidean space: M = Rn, H(x) = Idn.

2-D shape: M ⊂ R2, H(x) = Id2. Image processing: image I, W(x)2 = (ε + | |I(x)| |)−1. Riemannian manifold: M ⊂ Rn (locally) Riemannian metric: H(x) ∈ Rn×n, symmetric, positive definite. Isotropic metric: H(x) = W(x)2Idn.

slide-17
SLIDE 17

Riemannian Manifold

5

Length of a curve γ(t) ∈ M: L(γ)

def.

= 1 ⇥ γ(t)TH(γ(t))γ(t)dt.

W(x)

Euclidean space: M = Rn, H(x) = Idn.

2-D shape: M ⊂ R2, H(x) = Id2. Parametric surface: H(x) = Ix (1st fundamental form). Image processing: image I, W(x)2 = (ε + | |I(x)| |)−1. Riemannian manifold: M ⊂ Rn (locally) Riemannian metric: H(x) ∈ Rn×n, symmetric, positive definite. Isotropic metric: H(x) = W(x)2Idn.

slide-18
SLIDE 18

Riemannian Manifold

5

Length of a curve γ(t) ∈ M: L(γ)

def.

= 1 ⇥ γ(t)TH(γ(t))γ(t)dt.

W(x)

Euclidean space: M = Rn, H(x) = Idn.

2-D shape: M ⊂ R2, H(x) = Id2. Parametric surface: H(x) = Ix (1st fundamental form). Image processing: image I, W(x)2 = (ε + | |I(x)| |)−1. DTI imaging: M = [0, 1]3, H(x)=diffusion tensor. Riemannian manifold: M ⊂ Rn (locally) Riemannian metric: H(x) ∈ Rn×n, symmetric, positive definite. Isotropic metric: H(x) = W(x)2Idn.

slide-19
SLIDE 19

Geodesic Distances

Geodesic distance metric over M ⊂ Rn Geodesic curve: γ(t) such that L(γ) = dM(x, y).

Distance map to a starting point x0 ∈ M: Ux0(x)

def.

= dM(x0, x).

dM(x, y) = min

γ(0)=x,γ(1)=y L(γ)

metric

geodesics

Euclidean Shape Isotropic

Anisotropic Surface

slide-20
SLIDE 20

What’s Next?

Laurent Cohen: Dijkstra and Fast Marching algorithms. Jean-Marie Mirebeau: anisotropy and adaptive stencils.

First Last

v u v u v u v u v u v u v u First Last