Reconstruction de formes en grandes dimensions Dominique Attali - - PowerPoint PPT Presentation

reconstruction de formes en grandes dimensions
SMART_READER_LITE
LIVE PREVIEW

Reconstruction de formes en grandes dimensions Dominique Attali - - PowerPoint PPT Presentation

Reconstruction de formes en grandes dimensions Dominique Attali Co-authors: Andr Lieutier, David Salinas Confrence Mathmatiques et Grandes Dimensions de la thorie aux dveloppements industriels 10 dcembre 2012 Lyon Shape


slide-1
SLIDE 1

Conférence Mathématiques et Grandes Dimensions

de la théorie aux développements industriels 10 décembre 2012 Lyon

Reconstruction de formes en grandes dimensions

Dominique Attali Co-authors: André Lieutier, David Salinas

slide-2
SLIDE 2

2

Reconstruction Shape Simplicial complex n points Processing Medial axis Betti numbers Volume . . . Signatures Approximation Input Output

slide-3
SLIDE 3

3

in R2 Processing Reconstruction Simplicial complex Medial axis n points

in 2D

Input Output

slide-4
SLIDE 4

4

in R2 Processing Reconstruction Simplicial complex Medial axis n points

in 2D

Delaunay complex Building Heuristics (1995 – 2005) (Crust, Power crust, Co-cone, Wrap, . . . )

Delaunay of 10M points in 2D ≈ 10 s Empty circle property

✴ In R2, has size O(n)

slide-5
SLIDE 5

Delaunay of 10M points in 3D ≈ 80 s Empty sphere property

5

in R3 Processing Reconstruction Simplicial complex Medial axis Delaunay complex n points

in 3D

Building (1995 – 2005) (Crust, Power crust, Co-cone, Wrap, . . . ) ✴

In practice, has size O(n)

In R3, has size O(n2)

slide-6
SLIDE 6

6

Processing Reconstruction Simplicial complex Delaunay complex in Rd n points curse of dimensionality Shape Medial axis Betti numbers Volume . . . Signatures Rd

in dD

In Rd, has size O(nd/2)

The bound is tight (and achieved for points that sample curves).

Building

slide-7
SLIDE 7

7

/ / / / / / / / / / / / / Building Processing Reconstruction Simplicial complex Delaunay complex How to reconstruct without Delaunay? in Rd n points Shape Medial axis Betti numbers Volume . . . Signatures Rd

in dD

slide-8
SLIDE 8

8

/ / / / / / / / / / / / / Building Processing Reconstruction Simplicial complex Delaunay complex How to reconstruct without Delaunay? in Rd n points Shape Medial axis Betti numbers Volume . . . Signatures Guaranties on the result? Rd

in dD

slide-9
SLIDE 9

9

How to reconstruct without building the whole Delaunay complex?

weak Delaunay triangulation

[V. de Silva 2008]

tangential Delaunay complexes

[J. D. Boissonnat & A. Ghosh 2010]

tangent plane

Rips complexes

  • ur approach with André Lieutier and David Salinas

Landmarks

witnesses

slide-10
SLIDE 10

10

Rips(P, α) = {σ ⊂ P | Diameter(σ) ≤ 2α}

easy to compute compressed form of storage through the 1-skeleton

a

✹ ✹ ✹

Rips(P, α) ⊃ Cech(P, α)

proximity graph connects every pair of points within

Gα Rips(P, α) = Flag Gα [Flag G = largest complex whose 1-skeleton is G]

Rips complexes

α

2α b c

slide-11
SLIDE 11

11

Shape Point cloud in Rips complex Triangulation

Reconstruction Simplification

➊ ➋ ≈

  • Overview

Can be high-dimensional! Is it possible to find sampling conditions which guarantee?

Rd

slide-12
SLIDE 12

12

Simplification by iteratively applying elementary operations

Contraction Collapse ab

Edge contraction ab → c

Collapse of a simplex σ

Identifies vertices a and b to vertex c Preserves homotopy type if Lk(ab) = Lk(a) ∩ Lk(b) The result may not be a flag complex anymore . . . (1-skeleton, blocker set) σ blocker of K iff dim σ ≥ 2, ∀τ σ, τ ∈ K and σ ∈ K Removes σ and its cofaces Preserves homotopy type if Lk(σ) is a cone The result is a flag complex if σ a vertex or an edge

a b c a b x y x y = ⇒ data structure =

slide-13
SLIDE 13

Physical system

13

Correct homotopy type

Point cloud in R1282 Rips complex

Correct intrinsic dimension

Example

Is high-dimensional! Polygonal curve

slide-14
SLIDE 14

14

P A dH(A, P) < λ feature size(A) Reconstruction(P, α) Sampling conditions: Input Output

= ⇒

Reconstruction theorems

slide-15
SLIDE 15

14

P A dH(A, P) < λ feature size(A) Reconstruction(P, α) Sampling conditions: Input Output

= ⇒

Reconstruction theorems

slide-16
SLIDE 16

15

Nerve Lemma.

  • Nerve C = {η ⊂ C |
  • η = ∅}

C, where C finite collection of sets If sets in C are convex

Nerve

slide-17
SLIDE 17

16

Cech complex

Nerve Lemma.

  • P α =
  • p∈P

B(p, α) Cech(P, α) = Nerve{B(p, α) | p ∈ P} Can be high-dimensional!

&

expensive to compute

α

p

α-offset of P

slide-18
SLIDE 18

Cech(P, α)

17

P α

  • ?
  • Nerve Lemma.

P A Reconstruction Input Output

Cech complex

slide-19
SLIDE 19

18

Shapes and Reach

slide-20
SLIDE 20

18

Shapes and Reach

slide-21
SLIDE 21

19

Shapes and Reach

slide-22
SLIDE 22

20

Reach A = d(A, MedialAxis(A)) A m MedialAxis(A) = {m ∈ Rd | m has at least two closest points in A }

Medial Axis of A

Shapes and Reach

slide-23
SLIDE 23

21

Cech complex

P A P α

  • Reconstruction

Input Output Nerve Lemma. Cech(P, α) [Niyogi Smale Weinberger 2004]

dH(A, P) ≤ ε < (3 − √ 8) Reach A

if

α = (2 + √ 2)ε

deformation retracts to

slide-24
SLIDE 24

22

Short proof

P α Aβ A β p p a x y α α < R − ε β < α − ε } = ⇒

P α deformation retracts to Aβ

prove that a − p ≤ β = ⇒ y lies between x and p

β =

  • R − (R − ε)2 − α2

R = Reach A ε < (3 − √ 8)R α = (2 + √ 2)ε } = ⇒

slide-25
SLIDE 25

23

Short proof

R = Reach A p p a x y z P α Aβ Aε A α β ε

p − p ≤ α z − p ≥ R − ε a − p = R −

  • z − p2 − p − p2 ≤ β

}

β =

  • R − (R − ε)2 − α2

R = Reach A

slide-26
SLIDE 26

24

Rips(P, α) = {σ ⊂ P | Diameter(σ) ≤ 2α}

easy to compute compressed form of storage through the 1-skeleton

a

✹ ✹ ✹

Rips(P, α) ⊃ Cech(P, α)

proximity graph connects every pair of points within

Gα Rips(P, α) = Flag Gα [Flag G = largest complex whose 1-skeleton is G]

Rips complexes

α

2α b c

slide-27
SLIDE 27

25

Rips complexes with L∞

Rips(P, α) = {σ ⊂ P | Diameter(σ) ≤ 2α}

α

When distances are measured using L∞ Rips(P, α) Cech(P, α)

=

a b c

easy to compute compressed form of storage through the 1-skeleton

✹ ✹ ✹ ✹

proximity graph connects every pair of points within

Gα 2α Rips(P, α) = Flag Gα [Flag G = largest complex whose 1-skeleton is G]

slide-28
SLIDE 28

26

Rips complexes with L∞

P A

Nerve Lemma.

  • Reconstruction

?

easy to compute P + α B∞(0, 1) Input Output Rips(P, α) Cech(P, α)

=

slide-29
SLIDE 29

27

Minkowski sum

A P + αC where C = convex set compact

  • ?
slide-30
SLIDE 30

28

Minkowski sum

A P + αC where C = convex set compact

  • ?
slide-31
SLIDE 31

29

Minkowski sum

A where C = convex set compact P + αC

  • ?
slide-32
SLIDE 32

30

Minkowski sum

if inclusion homotopy equivalence and P ⊂ Aε and A ⊂ P + εC and

ε Reach A small enough

P + αC A (i) B(0, 1) ⊂ C ⊂ δB(0, 1) for some δ ≥ 1; (iii) C is ξ-eccentric for ξ < 1. (ii) C is (θ, κ)-round for θ = arccos(− 1

d) and κ > 0;

α ε = 4 1 − ξ

where C compact convex set that satisfies: (“curvature”) (“distance” between

q∈Q(q + C) and Hull(Q))

(“distortion” to unit ball)

excludes

c1 c2 n1

C

n2

excludes

a b m a + C b + C

slide-33
SLIDE 33

31

Minkowski sum

if inclusion homotopy equivalence and P ⊂ Aε and A ⊂ P + εC and

ε Reach A small enough

P + αC A d-balls satisfy (i) (ii) and (iii) for δ = 1, κ = 1 and ξ = 0.

κ =       

1 2 √ 2

  • cos π

4 + cos π 12

  • if d = 2,

1 √ 6

if d = 3,

1 (d−2) √ d

if d ≥ 4, δ = √ d ξ = 1 − 2

d

α ε = 4 1 − ξ

d-cubes satisfy (i) (ii) and (iii) for

slide-34
SLIDE 34

32

Minkowski sum

d-ball with [NSW04] ∀d 3 - √ 8 ≈ 0.17 2 + √ 2 ≈ 3.41 d-ball with this proof ∀d 0.077 3.96 d-cube 2 0.04 4.04 3 0.01 6.14 4 0.004 8.18 5 0.002 10.2 10 0.0002 20.23 100 0.0000002 200.23

P + αC A inclusion homotopy equivalence if and P ⊂ Aε and A ⊂ P + εC and

ε Reach A < λ α ε = η

λ η

[ Rips(P, α) with ∞ ]

d C

Admissible values of ε and α are solutions of a system of equations that depends upon (δ, κ, ξ).

slide-35
SLIDE 35

33

What now?

The largest ratio

ε Reach A that we get for Rips(P, α) with ∞:

Decreases quickly with d Is it tight? ✺

✺ ➟

∞ 2

slide-36
SLIDE 36

34

Rips complexes with L2

A P Cech(P, α) P α Rips(P, α) ⊂ Input Output easy to compute

slide-37
SLIDE 37

34

Rips complexes with L2

A P Cech(P, α) P α Rips(P, α) ⊂ Input Output easy to compute

  • Nerve Lemma
slide-38
SLIDE 38

34

Rips complexes with L2

A P Cech(P, α) P α Rips(P, α)

deformation retracts to

[NSW 04]

⊂ Input Output easy to compute

  • Nerve Lemma
slide-39
SLIDE 39

34

Rips complexes with L2

A P Cech(P, α) P α Rips(P, α)

deformation retracts to

[NSW 04]

?

deformation retracts to

⊂ Input Output easy to compute

  • Nerve Lemma
slide-40
SLIDE 40

35

Rips complexes with L2

A P Cech(P, α) P α

  • Nerve Lemma

deformation retracts to

[NSW 04]

?

deformation retracts to

⊂ Rips(P, α) Rips and Cech complexes generally don’t share the same topology, but ...

≈ sphere circle

slide-41
SLIDE 41

36

Roadmap

Cech(P, α) P α

Rips(P, α)

≈ sphere circle

  • Cech(P, ϑdα)

≈ 5-ball

P ϑdα for ϑd =

  • 2d

d+1

slide-42
SLIDE 42

37

Roadmap

Cech(P, α) P α

Rips(P, α)

  • Cech(P, ϑdα)

⊂ P ϑdα Find a condition under which the topology of { Cech(P, t) }α≤t≤ϑdα is “stable”

for ϑd =

  • 2d

d+1

sequence of collapses?

slide-43
SLIDE 43

37

Roadmap

Cech(P, α) P α

Rips(P, α)

  • Cech(P, ϑdα)

⊂ P ϑdα Find a condition under which the topology of { Cech(P, t) }α≤t≤ϑdα is “stable”

for ϑd =

  • 2d

d+1

sequence of collapses?

{ Cech(P, t) ∩ Rips(()P, α) }α≤t≤ϑdα { Cech(P, t) ∩ Rips(P, α) }α≤t≤ϑdα Deduce a condition under which the topology of

sequence of collapses

is “stable”

?

slide-44
SLIDE 44

38

Roadmap

Cech(P, α) P α

  • circle
  • Cech(P, ϑdα)

≈ 5-ball

P ϑdα is “stable” for ϑd =

  • 2d

d+1

sequence of collapses

Find a condition under which the topology of { Cech(P, t) }α≤t≤ϑdα

deformation retracts to

is “stable”

? ?

slide-45
SLIDE 45

39

Distance function

P x d(x, P)

slide-46
SLIDE 46

40

P x d(x, P)

Sublevel sets of d(·, P) are offsets of P.

Distance function

slide-47
SLIDE 47

41

Distance function

P x d(x, P)

✹ ✹ Topology of sublevel sets changes at critical values t0.

Sublevel sets of d(·, P) are offsets of P.

slide-48
SLIDE 48

42

Distance function

P x d(x, P)

✹ ✹ Topology of sublevel sets changes at critical values t0.

Sublevel sets of d(·, P) are offsets of P.

slide-49
SLIDE 49

43

Distance function

P x d(x, P)

✹ ✹ Topology of sublevel sets changes at critical values t0.

Sublevel sets of d(·, P) are offsets of P.

slide-50
SLIDE 50

44

P

✹ ✹ Topology of sublevel sets changes at critical values t0.

Sublevel sets of d(·, P) are offsets of P.

t0 critical value ⇐ ⇒ cP (t0) = t0

Distance function

slide-51
SLIDE 51

45

Convexity defects

  • cP

P

Centers(P, t) =

  • ∅=σ⊂P

Rad(σ)≤t

{Center(σ)}. cP (t) = dH(Centers(P, t) | P)

✹ ✹ ✹ ✹

For a compact set P: P convex ⇐ ⇒ cP = 0 cP non decreasing cP (t) = t ⇐ ⇒ t critical value d(·, P) cP (t) ≤ t

slide-52
SLIDE 52

45

Convexity defects

  • cP

P

Centers(P, t) =

  • ∅=σ⊂P

Rad(σ)≤t

{Center(σ)}. cP (t) = dH(Centers(P, t) | P)

✹ ✹ ✹ ✹

For a compact set P: P convex ⇐ ⇒ cP = 0 cP non decreasing σ Rad(σ) Center(σ) cP (t) = t ⇐ ⇒ t critical value d(·, P) cP (t) ≤ t

slide-53
SLIDE 53

45

Convexity defects

  • cP

P

Centers(P, t) =

  • ∅=σ⊂P

Rad(σ)≤t

{Center(σ)}. cP (t) = dH(Centers(P, t) | P)

✹ ✹ ✹ ✹

For a compact set P: P convex ⇐ ⇒ cP = 0 cP non decreasing σ Rad(σ) Center(σ) cP (t) = t ⇐ ⇒ t critical value d(·, P)

t=0.3

cP (t) ≤ t

slide-54
SLIDE 54

45

Convexity defects

  • cP

P

Centers(P, t) =

  • ∅=σ⊂P

Rad(σ)≤t

{Center(σ)}. cP (t) = dH(Centers(P, t) | P)

✹ ✹ ✹ ✹

For a compact set P: P convex ⇐ ⇒ cP = 0 cP non decreasing σ Rad(σ) Center(σ) cP (t) = t ⇐ ⇒ t critical value d(·, P)

t=0.3 t=0.5

cP (t) ≤ t

slide-55
SLIDE 55

45

Convexity defects

  • cP

P

Centers(P, t) =

  • ∅=σ⊂P

Rad(σ)≤t

{Center(σ)}. cP (t) = dH(Centers(P, t) | P)

✹ ✹ ✹ ✹

For a compact set P: P convex ⇐ ⇒ cP = 0 cP non decreasing σ Rad(σ) Center(σ) cP (t) = t ⇐ ⇒ t critical value d(·, P)

t=0.3 t=0.5 t=0.72

cP (t) ≤ t

slide-56
SLIDE 56

46

Roadmap

Cech(P, α) P α

  • Cech(P, ϑdα)

P ϑdα for ϑd =

  • 2d

d+1

sequence of collapses cP (t) < t, ∀t ∈ [α, ϑdα] deformation retracts to

{ Cech(P, t) }α≤t≤ϑdα

slide-57
SLIDE 57

46

Roadmap

Cech(P, α) P α

  • Cech(P, ϑdα)

P ϑdα for ϑd =

  • 2d

d+1

sequence of collapses cP (t) < t, ∀t ∈ [α, ϑdα] deformation retracts to

{ Cech(P, t) }α≤t≤ϑdα ⊂ Rips(P, α) ⊂

sequence of collapses cP (ϑdα) < 2α − ϑdα

{ Cech(P, t) ∩ Rips(P, α) }α≤t≤ϑdα

slide-58
SLIDE 58

47

Roadmap

Cech(P, α) P α

  • Cech(P, ϑdα)

P ϑdα for ϑd =

  • 2d

d+1

sequence of collapses cP (t) < t, ∀t ∈ [α, ϑdα] deformation retracts to

⊂ Rips(P, α) ⊂

sequence of collapses cP (ϑdα) < 2α − ϑdα

{ Cech(P, t) ∩ Rips(P, α) }α≤t≤ϑdα { Cech(P, t) }α≤t≤ϑdα

  • σ

2α − t the link of σ ∈ Cech(P, t) ∩ Rips(P, α) is a cone. ∀t ∈ [α, ϑdα], ∀σ ∈ Cech(P, t) :

≤ t

B

slide-59
SLIDE 59

Rips complexes with L2

A P Cech(P, α) P α Rips(P, α)

  • Nerve Lemma

deformation retracts to

[NSW 04]

deformation retracts to

cP (ϑdα) < 2α − ϑdα

t σ

A

if dH(A, P) ≤ ε, then cP (t) ≤ Reach (A) −

  • Reach (A)2 − (t + ε)2 + 2ε

for t < Reach (A) − ε

48

slide-60
SLIDE 60

49

Shapes with a positive reach

if

P α with [NSW04] ∀d 3 − √ 8 ≈ 0.17 2 + √ 2 ≈ 3.41 Rips (P, α) 2 0.063 5.00 3 0.055 5.46 4 0.050 5.76 5 0.047 5.97 10 0.041 6.50 100 0.035 7.22 +∞

2√ 2− √ 2− √ 2 2+ √ 2

≈ 0.0340 7.22

λ η

and and

ε Reach A < λ α ε = η

dH(A, P) ≤ ε A Rips(P, α)

  • with 2

d Reconstruction

slide-61
SLIDE 61

50

Shape Point cloud in Rips complex Triangulation

Reconstruction Simplification

➊ ➋ ≈

  • Overview

Can be high-dimensional! Is it possible to find sampling conditions which guarantee?

Rd

slide-62
SLIDE 62

51

Does simplification exist?

Different strategies: Edge contractions; Vertex and edge collapses ... Seems to work well in practice And yet, not all obvious that the Rips complex whose vertices sample a shape contains a subcomplex homeomorphic to that shape. A triangulated Bing’s house is contractible but not collapsible Geometry has to play a key role.

How to get an object with the right dimension?

slide-63
SLIDE 63

52

Rips(P, α)

Ongoing work

≈ Shape A

Triangulation of A

[A & Lieutier SoCG 2013]

slide-64
SLIDE 64

52

Rips(P, α)

Ongoing work

≈ Shape A

Triangulation of A

sequence of collapses

Cech(P, α)

cP (ϑdα) < 2α − ϑdα

Nerve{B(p, α) | p ∈ P}

A [A & Lieutier SoCG 2013]

slide-65
SLIDE 65

52

Rips(P, α)

Ongoing work

≈ Shape A

Triangulation of A

sequence of collapses

Cech(P, α)

cP (ϑdα) < 2α − ϑdα

Nerve{B(p, α) | p ∈ P}

A

sequence of collapses

CechA(P, α)

Nerve{A ∩ B(p, α) | p ∈ P}

dH(A, P) ≤ ε < (3 − √ 8) Reach A α = (2 + √ 2)ε

A [A & Lieutier SoCG 2013]

slide-66
SLIDE 66

52

Rips(P, α)

Ongoing work

≈ Shape A

Triangulation of A

sequence of collapses

Cech(P, α)

cP (ϑdα) < 2α − ϑdα

Nerve{B(p, α) | p ∈ P}

A

sequence of collapses

CechA(P, α)

Nerve{A ∩ B(p, α) | p ∈ P}

dH(A, P) ≤ ε < (3 − √ 8) Reach A α = (2 + √ 2)ε

A

α-Nice

sequence of collapses

∃ ?

α < Reach A

with and Nerve{A ∩ Hullα(Cell(v)) | v ∈ V } A =

  • v∈V

Cell(v)

Cell(v) ⊂ B(p, α) for some p ∈ P

A [A & Lieutier SoCG 2013]

slide-67
SLIDE 67

53

Future work

How to turn all this into a practical algorithm?

In general Collapsibility of 3-complexes is NP-hard [Martin Tancer 2012] Geometry has to play a key role. For Rips complexes whose vertices sample a convex set, a 0-manifold or a 1-manifold How to go beyond?

Shapes with α-nice triangulations?

Flat torus T2 in R4 Rm

slide-68
SLIDE 68

54

Wrap-up

Géométrie élémentaire

  • Complexes simpliciaux abstraits, Nerves, Flag complexes, collapse, ...

Forme Nuage de points Modèle Reconstruction Echantillonnage Manipulation Approximation

Topologie Algorithmique

  • Fonction de distance, théorie de Morse, points critiques, gradient, axe médian, reach, ...
  • Homéomorphisme, type d’homotopie, se rétracte par déformation, ...
  • Triangulation de Delaunay, Cech complex, Rips complex, ...
  • Structure de données, complexité, preuves de NP-complétude, ...
slide-69
SLIDE 69

References

55

[AL10]

  • D. Attali and A. Lieutier. Reconstructing shapes with guarantees by unions of convex
  • sets. In Proc. 26th Ann. Sympos. Comput. Geom., pages 344–353, Snowbird, Utah, June 13-16

2010. [ALS12a] D. Attali, A. Lieutier, and D. Salinas. Efficient data structure for representing and sim- plifying simplicial complexes in high dimensions. International Journal of Computational Geometry and Applications (IJCGA), 22(4):279–303, 2012. [ALS12b] D. Attali, A. Lieutier, and D. Salinas. Vietoris-Rips complexes also provide topologically correct reconstructions of sampled shapes. Computational Geometry: Theory and Applica- tions (CGTA), 2012. [AL13]

  • D. Attali and A. Lieutier. Geometry driven collapses for converting a ˇ

Cech complex into a triangulation of a shape. In 29th Ann. Sympos. Comput. Geom., Rio de Janeiro, Brazil, June 17–20 2013. Submitted. [ALS13] D. Attali, A. Lieutier, and D. Salinas. Collapsing Rips Complexes. In 29th Ann. Sympos.

  • Comput. Geom., Rio de Janeiro, Brazil, June 17–20 2013. Submitted.
slide-70
SLIDE 70

56