Between Two Shapes, Using the Hausdorff Distance Marc van Kreveld, - - PowerPoint PPT Presentation

between two shapes using the hausdorff distance
SMART_READER_LITE
LIVE PREVIEW

Between Two Shapes, Using the Hausdorff Distance Marc van Kreveld, - - PowerPoint PPT Presentation

Between Two Shapes, Using the Hausdorff Distance Marc van Kreveld, Till Miltzow, Tim Ophelders Willem Sonke, Jordi Vermeulen ? Directed Hausdorff distance A B . Directed Hausdorff distance A B . Directed Hausdorff distance A B .


slide-1
SLIDE 1

Between Two Shapes, Using the Hausdorff Distance

Marc van Kreveld, Till Miltzow, Tim Ophelders Willem Sonke, Jordi Vermeulen

slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4

?

slide-5
SLIDE 5
slide-6
SLIDE 6

Directed Hausdorff distance A → B.

slide-7
SLIDE 7

Directed Hausdorff distance A → B.

slide-8
SLIDE 8

Directed Hausdorff distance A → B.

slide-9
SLIDE 9

Directed Hausdorff distance B → A.

slide-10
SLIDE 10

Directed Hausdorff distance B → A.

slide-11
SLIDE 11

Directed Hausdorff distance B → A.

slide-12
SLIDE 12

Undirected Hausdorff distance A ↔ B.

slide-13
SLIDE 13

dH = 1 Undirected Hausdorff distance A ↔ B.

slide-14
SLIDE 14
slide-15
SLIDE 15
slide-16
SLIDE 16
slide-17
SLIDE 17
slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21
slide-22
SLIDE 22
slide-23
SLIDE 23

Directed Hausdorff distance B → A.

slide-24
SLIDE 24
slide-25
SLIDE 25

Directed Hausdorff distance A → B.

slide-26
SLIDE 26
slide-27
SLIDE 27
slide-28
SLIDE 28

A B S

slide-29
SLIDE 29

A B S Find S with minimal Hausdorff distance to A and B.

slide-30
SLIDE 30

A B S Find S with minimal Hausdorff distance to A and B. Result: distance 1/2 is always possible.

slide-31
SLIDE 31
slide-32
SLIDE 32
slide-33
SLIDE 33
slide-34
SLIDE 34
slide-35
SLIDE 35

maximal

slide-36
SLIDE 36

B A

slide-37
SLIDE 37

dH = 1 B A

slide-38
SLIDE 38

B A A ⊕ D1/2

slide-39
SLIDE 39

B B ⊕ D1/2 A A ⊕ D1/2

slide-40
SLIDE 40

B A S

slide-41
SLIDE 41

B A

slide-42
SLIDE 42

A ⊕ D1/8 B ⊕ D7/8 B A S1/8

slide-43
SLIDE 43

A ⊕ D1/4 B ⊕ D3/4 S1/4 B A

slide-44
SLIDE 44

A ⊕ D1/2 B ⊕ D1/2 S1/2 B A

slide-45
SLIDE 45

A ⊕ D3/4 B ⊕ D1/4 B A S3/4

slide-46
SLIDE 46

B ⊕ D7/8 B ⊕ D1/8 B A S7/8

slide-47
SLIDE 47

B A Sα

slide-48
SLIDE 48

B A Claim:

  • dH(A, S) = α
  • dH(B, S) = 1 − α

slide-49
SLIDE 49

B A Claim:

  • dH(A, S) = α
  • dH(B, S) = 1 − α

Sα To show:

  • S ⊆ A ⊕ Dα
  • S ⊆ B ⊕ D1−α
  • A ⊆ S ⊕ Dα
  • B ⊆ S ⊕ D1−α
slide-50
SLIDE 50

B A Claim:

  • dH(A, S) = α
  • dH(B, S) = 1 − α

Sα To show:

  • S ⊆ A ⊕ Dα
  • S ⊆ B ⊕ D1−α
  • A ⊆ S ⊕ Dα
  • B ⊆ S ⊕ D1−α

S ⊕ Dα

slide-51
SLIDE 51

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

slide-52
SLIDE 52

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

  • Sα ⊆ A ⊕ Dα
slide-53
SLIDE 53

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

  • Sα ⊆ A ⊕ Dα
slide-54
SLIDE 54

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

  • Sα ⊆ A ⊕ Dα
  • A ⊆ Sα ⊕ Dα
slide-55
SLIDE 55

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

  • Sα ⊆ A ⊕ Dα
  • A ⊆ Sα ⊕ Dα

B A Sα

slide-56
SLIDE 56

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

  • Sα ⊆ A ⊕ Dα
  • A ⊆ Sα ⊕ Dα

B A Sα a

slide-57
SLIDE 57

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

  • Sα ⊆ A ⊕ Dα
  • A ⊆ Sα ⊕ Dα

B A Sα a ≤ 1 b

slide-58
SLIDE 58

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

  • Sα ⊆ A ⊕ Dα
  • A ⊆ Sα ⊕ Dα

B A Sα a b s ≤ α ≤ 1 − α

slide-59
SLIDE 59

Lemma: Sα = (A ⊕ Dα) ∩ (B ⊕ D1−α) has dH(A, Sα) = α and dH(B, Sα) = 1 − α.

  • Sα ⊆ A ⊕ Dα
  • A ⊆ Sα ⊕ Dα

B A Sα a b s ≤ α ≤ 1 − α

slide-60
SLIDE 60
slide-61
SLIDE 61

convex convex

slide-62
SLIDE 62

convex convex convex O(n + m) complexity

slide-63
SLIDE 63

convex non-convex

slide-64
SLIDE 64

convex non-convex connected O(n + m) complexity

slide-65
SLIDE 65

non-convex non-convex

slide-66
SLIDE 66

non-convex non-convex possibly disconnected O(nm) complexity

slide-67
SLIDE 67
slide-68
SLIDE 68
slide-69
SLIDE 69
slide-70
SLIDE 70

maximal S

slide-71
SLIDE 71

minimal S

slide-72
SLIDE 72

B A

slide-73
SLIDE 73

A ⊕ D1/8 B ⊕ D7/8 B A S1/8

slide-74
SLIDE 74

A ⊕ D1/4 B ⊕ D3/4 S1/4 B A

slide-75
SLIDE 75

A ⊕ D1/2 B ⊕ D1/2 S1/2 B A

slide-76
SLIDE 76

A ⊕ D3/4 B ⊕ D1/4 B A S3/4

slide-77
SLIDE 77

B ⊕ D7/8 B ⊕ D1/8 B A S7/8

slide-78
SLIDE 78
slide-79
SLIDE 79

Conclusion:

slide-80
SLIDE 80

Conclusion:

  • We can compute a shape with dH(A, S) = α and dH(B, S) = 1 − α
slide-81
SLIDE 81

Conclusion:

  • We can compute a shape with dH(A, S) = α and dH(B, S) = 1 − α
  • The shape has linear or quadratic complexity, depending on the

convexity of A and B

slide-82
SLIDE 82

Conclusion:

  • We can compute a shape with dH(A, S) = α and dH(B, S) = 1 − α
  • The shape has linear or quadratic complexity, depending on the

convexity of A and B

  • The morph obtained by varying α is 1-Lipschitz continuous
slide-83
SLIDE 83

Conclusion:

  • We can compute a shape with dH(A, S) = α and dH(B, S) = 1 − α
  • The shape has linear or quadratic complexity, depending on the

convexity of A and B

  • The morph obtained by varying α is 1-Lipschitz continuous

Future work:

  • Extend to more than two input sets
slide-84
SLIDE 84

Conclusion:

  • We can compute a shape with dH(A, S) = α and dH(B, S) = 1 − α
  • The shape has linear or quadratic complexity, depending on the

convexity of A and B

  • The morph obtained by varying α is 1-Lipschitz continuous

Future work:

  • Extend to more than two input sets
  • Minimum required α may be 1
slide-85
SLIDE 85

Conclusion:

  • We can compute a shape with dH(A, S) = α and dH(B, S) = 1 − α
  • The shape has linear or quadratic complexity, depending on the

convexity of A and B

  • The morph obtained by varying α is 1-Lipschitz continuous

Future work:

  • Extend to more than two input sets
  • Minimum required α may be 1
  • Not yet clear how to do morphing between three shapes
slide-86
SLIDE 86
slide-87
SLIDE 87
slide-88
SLIDE 88

?

slide-89
SLIDE 89
slide-90
SLIDE 90

Input sets {A1, . . . , Ak} A1 A2 A3

slide-91
SLIDE 91

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα A1 A2 A3

slide-92
SLIDE 92

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα Find smallest α s.t. Ai ⊆ Sα ⊕ Dα A1 A2 A3

slide-93
SLIDE 93

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα Find smallest α s.t. Ai ⊆ Sα ⊕ Dα A1 A2 A3

slide-94
SLIDE 94

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα Find smallest α s.t. Ai ⊆ Sα ⊕ Dα A1 A2 A3

slide-95
SLIDE 95

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα Find smallest α s.t. Ai ⊆ Sα ⊕ Dα A1 A2 A3

slide-96
SLIDE 96

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα Find smallest α s.t. Ai ⊆ Sα ⊕ Dα A1 A2 A3

slide-97
SLIDE 97

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα Find smallest α s.t. Ai ⊆ Sα ⊕ Dα A1 A2 A3

slide-98
SLIDE 98

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα Find smallest α s.t. Ai ⊆ Sα ⊕ Dα Worst case: smallest α = 1

slide-99
SLIDE 99

Input sets {A1, . . . , Ak} Let Sα =

i

Ai ⊕ Dα Find smallest α s.t. Ai ⊆ Sα ⊕ Dα Worst case: smallest α = 1