Hausdorff Distance under Translation for Points, Disks, and...

19
Hausdorff Distance under Translation for Points, Disks, and Balls Yusu Wang Joint work with P. K. Agarwal, S. Har-Peled, and M. Sharir Center for Geometric and Biological Computing Duke University 1

Transcript of Hausdorff Distance under Translation for Points, Disks, and...

Page 1: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

Hausdorff Distance under Translation forPoints, Disks, and Balls

Yusu Wang

Joint work with

P. K. Agarwal, S. Har-Peled, and M. Sharir

Center for Geometric and Biological Computing

Duke University

1

Page 2: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

Surface Matching: Find the best transformation s.t. two surfaces are

most similar.

Motivation: Computer vision, CAD, graphics, robotics and molecular

biology.

Introduction

2

Page 3: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ Proteins w/ similar shapes likely have similar functionalities

✫ Protein-protein or protein-ligand docking

Representation of surfaces:

✫ points, union of balls, weighted points

Transformation space:

✫ translational space in���

or���

Molecular Shape Matching

3

Page 4: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

Similarity measure: variants of Hausdorff distance.

✫ Hausdorff distance between unions of balls

✫ Collision-free Hausdorff between sets of weighted points

✫ Average Hausdorff between sets of points (approximate)

✫ Other approximation algorithms

Overview

4

Page 5: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ � � ��� ���������� � , � ��� � �������������✫ � � ��� � �������� ��� , �! � � �#"� $�&%' ��✫ (*) � + � � � �,(.- � + � � q

p

✫ Directional Hausdorff:/10 �2� ���3�4� 5 6�798;: 0 < 5 =?>A@B: 0 C D �FEG��H;�I�✫ Hausdorff: J 0 �K� ���3�4� 5 6�71� /10 �2� ���3�I� /L0 �2� ��� �M�9�✫ Goal: N 0 �2� ���3�4� =O>QP&R :TS$U

J 0 �2� V WB�&�X� .

Hausdorff between unions

5

Page 6: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ Decision problem: Given � � � , � W�� � � s.t.

/L0 �2� V WB���3��� � ?

(4- � � ( �- � (4- � �

✫ ��� �� : placements W ’s of � � s.t.

/L0 � � � V W,���3��� �✫ �2� ���3�4� � ���1���L �✫ Goal: Is �2� ���3� empty?

Framework

6

Page 7: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ One pair of disks � � � � ��� � ��� � � and �! � � �#"� $�&%' ��✫ Placements s.t.

J 0 ��� ��V W,��� ��� �✫ � � � � � " �� � � ��% V � � � � �

������� � �

� � ��

� � � � � � � ��� � �

Structure of���

7

Page 8: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ Same procedure � � and (.-✫ � � : vertex set for ( �- , � � : arc set for ( �-

✫ Complexity of ����� ��� � in� �

Structure of���

8

Page 9: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ �2� ���3�4� � � � , for � � � � � .

Lemma. Complexity of �2� ���3� : � ��� � � � in� �

.

Proof: A vertex can be from:

✫ Some � — � � ��� � ;✫ Intersection of an arc from � and

one from ��✵ � ��� � vertices for one pair

✵ � ��� � � pairs of � � � � �✵ � ��� � �G� overall

Complexity of� �� ��

9

Page 10: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

For � � : consider two types of disks:

✫ convex arcs bounded by:� � � ��� � � � � � � � �✫ concave arcs bounded by:� � � ��� ��H ��� � � , H � � � �Claim. � ��� � �� � � + ��� ��� � ��� � ��� � �;� .

x x

x x q

� � � � ���

10

Page 11: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

Lemma. �K� ���3� can be computed in time � ��� � � ����� ��� V � ��� in���

.

✫ Divide and conquer

✫ Sweep-line approach to merge

Theorem.N 0 �2� �&�X� can be computed in � ��� �4��� V � ������� � ��� V � �&� .

✫ Parametric search technique.

Algorithm

11

Page 12: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

Bad news:�� ��� � � in

���!!

✫ Open problem: Complexity of A� : � �������✵ what is complexity of medial axis for union of balls

Remark:�� ��� � ��� V � � � � under assumptions for molecules:

✫ Atoms of similar (constant) size

✫ Atoms are constant distance away

✫ � is some constant

Computing� � � ��

in � �

12

Page 13: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

a

b

l

D(a, r)

r

D(b, l)

✫ D ��� ����� �4� D ��� � � " � � ��� � % ✫ � : the set of free placements of �

✵ � � � free: � V � avoids interior of �Goal: Optimal collision-free Hausdorff under translations:J

�2� ��� ��� �4� 5 =?>� :��J�2� V � �&�X�B�

Weighted Points

13

Page 14: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ � � : set of placements of � � that are not free

✫ Similar framework as before

✵ distance condition ( � ) and collision-free condition ( � � )✵ �K� ���3�4� � � ��� � � �

✫ Take � � � ��� � ��� � � and � � �#" ��% �

����� �� � � � � �

���

Framework

14

Page 15: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ Follow similar framework as before:

Theorem.J �K� �&� � � � can be computed

(i)� �

: in time � ��� �4��� V � ������� � � � V � ��� ;(ii)

� �: in time � ��� � � � ��� V � � � ��� � � � V � �&� .

Remark:

✫ Bounds approximately same as Hausdorff between point sets

Results

15

Page 16: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

Motivation of D � � � ��� � : docking problem, partial matching

Partial matching: Given � � � , find � � � s.t.

� ��� � �J � � � V � ���3��� � � �

is maximized.

Theorem. Such a translation � can be computed

(i)� �

: in time � ��� � � �����1� � V � ��� ;(ii)

� �: in time � ��� � � � � ���L��� V � �&� .

Open problem:

✫ How to approximate partial matching efficiently?

Partial Matching

16

Page 17: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

✫ Rigid motions

✫ Efficient approximation algorithms

✵ approximate partial matching under rigid motion

Open Problems

17

Page 18: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

—— THE END! ——

THANKS !

The End

18

Page 19: Hausdorff Distance under Translation for Points, Disks, and Ballsdimacs.rutgers.edu/Workshops/GeomOpt/slides/Wang.pdf · 2003. 5. 20. · Hausdorff Distance under Translation for

Point sets:

✫ Exact matching (rigid motion): � ��� � ��� � � in� �

, � ��� � � � ��� �G� inD � �

✫ Bottleneck (in� �

): � ��� ��� � ����� � � for fixed point sets, � ��� � ����� � �translations, � � � � � rigid motion

✫ Hausdorff (translations,�� ):

�� ��� � � in

� �,�� ��� � � �� �� � � � in

✫ Hausdorff (rigid motions):�� ������ in

� �

Other objects:

✫ Line segments (in� �

): � ��� � � for fixed sets,�� ����� � translations,

�� ��� �

rigid motions

Related Work

19