between two shapes using the hausdorff distance
play

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 .


  1. Between Two Shapes, Using the Hausdorff Distance Marc van Kreveld, Till Miltzow, Tim Ophelders Willem Sonke, Jordi Vermeulen

  2. ?

  3. Directed Hausdorff distance A → B .

  4. Directed Hausdorff distance A → B .

  5. Directed Hausdorff distance A → B .

  6. Directed Hausdorff distance B → A .

  7. Directed Hausdorff distance B → A .

  8. Directed Hausdorff distance B → A .

  9. Undirected Hausdorff distance A ↔ B .

  10. Undirected Hausdorff distance A ↔ B . d H = 1

  11. Directed Hausdorff distance B → A .

  12. Directed Hausdorff distance A → B .

  13. S B A

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

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

  16. maximal

  17. B A

  18. B A d H = 1

  19. B A A ⊕ D 1 / 2

  20. B A A ⊕ D 1 / 2 B ⊕ D 1 / 2

  21. S B A

  22. B A

  23. S 1 / 8 B A A ⊕ D 1 / 8 B ⊕ D 7 / 8

  24. S 1 / 4 B A A ⊕ D 1 / 4 B ⊕ D 3 / 4

  25. S 1 / 2 B A A ⊕ D 1 / 2 B ⊕ D 1 / 2

  26. S 3 / 4 B A A ⊕ D 3 / 4 B ⊕ D 1 / 4

  27. S 7 / 8 B A B ⊕ D 7 / 8 B ⊕ D 1 / 8

  28. S α B A

  29. Claim: - d H ( A, S ) = α - d H ( B, S ) = 1 − α S α B A

  30. Claim: - d H ( A, S ) = α - d H ( B, S ) = 1 − α S α B A To show: - S ⊆ A ⊕ D α - S ⊆ B ⊕ D 1 − α - A ⊆ S ⊕ D α - B ⊆ S ⊕ D 1 − α

  31. Claim: - d H ( A, S ) = α - d H ( B, S ) = 1 − α S α B A To show: - S ⊆ A ⊕ D α - S ⊆ B ⊕ D 1 − α - A ⊆ S ⊕ D α S ⊕ D α - B ⊆ S ⊕ D 1 − α

  32. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α .

  33. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α . - S α ⊆ A ⊕ D α

  34. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α . - S α ⊆ A ⊕ D α �

  35. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α . - S α ⊆ A ⊕ D α � - A ⊆ S α ⊕ D α

  36. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α . - S α ⊆ A ⊕ D α � S α - A ⊆ S α ⊕ D α B A

  37. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α . - S α ⊆ A ⊕ D α � S α - A ⊆ S α ⊕ D α a B A

  38. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α . - S α ⊆ A ⊕ D α � S α - A ⊆ S α ⊕ D α ≤ 1 a B A b

  39. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α . - S α ⊆ A ⊕ D α � S α - A ⊆ S α ⊕ D α a ≤ α s B A b ≤ 1 − α

  40. Lemma: S α = ( A ⊕ D α ) ∩ ( B ⊕ D 1 − α ) has d H ( A, S α ) = α and d H ( B, S α ) = 1 − α . - S α ⊆ A ⊕ D α � S α - A ⊆ S α ⊕ D α � a ≤ α s B A b ≤ 1 − α

  41. convex convex

  42. convex convex O ( n + m ) complexity convex

  43. non-convex convex

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

  45. non-convex non-convex

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

  47. maximal S

  48. minimal S

  49. B A

  50. S 1 / 8 B A A ⊕ D 1 / 8 B ⊕ D 7 / 8

  51. S 1 / 4 B A A ⊕ D 1 / 4 B ⊕ D 3 / 4

  52. S 1 / 2 B A A ⊕ D 1 / 2 B ⊕ D 1 / 2

  53. S 3 / 4 B A A ⊕ D 3 / 4 B ⊕ D 1 / 4

  54. S 7 / 8 B A B ⊕ D 7 / 8 B ⊕ D 1 / 8

  55. Conclusion:

  56. Conclusion: - We can compute a shape with d H ( A, S ) = α and d H ( B, S ) = 1 − α

  57. Conclusion: - We can compute a shape with d H ( A, S ) = α and d H ( B, S ) = 1 − α - The shape has linear or quadratic complexity, depending on the convexity of A and B

  58. Conclusion: - We can compute a shape with d H ( A, S ) = α and d H ( 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

  59. Conclusion: - We can compute a shape with d H ( A, S ) = α and d H ( 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

  60. Conclusion: - We can compute a shape with d H ( A, S ) = α and d H ( 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

  61. Conclusion: - We can compute a shape with d H ( A, S ) = α and d H ( 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

  62. ?

  63. Input sets { A 1 , . . . , A k } A 1 A 3 A 2

  64. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i A 1 A 3 A 2

  65. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i Find smallest α s.t. A i ⊆ S α ⊕ D α A 1 A 3 A 2

  66. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i Find smallest α s.t. A i ⊆ S α ⊕ D α A 1 A 3 A 2

  67. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i Find smallest α s.t. A i ⊆ S α ⊕ D α A 1 A 3 A 2

  68. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i Find smallest α s.t. A i ⊆ S α ⊕ D α A 1 A 3 A 2

  69. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i Find smallest α s.t. A i ⊆ S α ⊕ D α A 1 A 3 A 2

  70. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i Find smallest α s.t. A i ⊆ S α ⊕ D α A 1 A 3 A 2

  71. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i Find smallest α s.t. A i ⊆ S α ⊕ D α Worst case: smallest α = 1

  72. Input sets { A 1 , . . . , A k } Let S α = � A i ⊕ D α i Find smallest α s.t. A i ⊆ S α ⊕ D α Worst case: smallest α = 1

Recommend


More recommend