Abstract
For two given simple polygonsP, Q, the problem is to determine a rigid motionI ofQ giving the best possible match betweenP andQ, i.e. minimizing the Hausdorff distance betweenP andI(Q). Faster algorithms as the one for the general problem are obtained for special cases, namely thatI is restricted to translations or even to translations only in one specified direction. It turns out that determining pseudo-optimal solutions, i.e. ones that differ from the optimum by just a constant factor, can be done much more efficiently than determining optimal solutions. In the most general case, the algorithm for the pseudo-optimal solution is based on the surprising fact that for the optimal possible match betweenP and an imageI(Q) ofQ, the distance between the centroids of the edges of the convex hulls ofP andI(Q) is a constant multiple of the Hausdorff distance betweenP andI(Q). It is also shown that the Hausdorff distance between two polygons can be determined in timeO(n logn), wheren is the total number of vertices.
Similar content being viewed by others
References
H. Alt, B. Behrends and J. Blömer, Approximate matching of polygonal shapes,Proc. 7th Annual ACM Symp. on Computational Geometry, 1992, pp. 186–193.
H. Alt, J. Blömer, M. Godau and H. Wagener, Approximations of convex polygons,Proc. 17th ICALP, Springer Lecture Notes in Comp. Sci. 443(1990)703–716.
H. Alt and M. Godau, Measuring the resemblance of polygonal curves,Proc. 8th Annual ACM Symp. on Computational Geometry, 1992, pp. 102—109.
E.M. Arkin, K. Kedem, J.S.B. Mitchell, J. Sprinzak and M. Werman, Matching points into noise regions: Combinatorial bounds and algorithms,Proc. 2nd Annual ACM-SIAM Symp. on Discrete Algorithms, 1991, pp. 42–51.
H. Alt, K. Mehlhorn, H. Wagener and E. Welzl, Congruence, similarity and symmetries of geometric objects, Discr. Comp. Geom. 3(1988)237–256.
P.K. Agarwal, M. Sharir and P. Shor, Sharp upper and lower bounds on the length of general Davenport-Schinzel sequences, J. Combin. Theory A52(1989)228–274.
P.K. Agarwal, M. Sharir and S. Toledo, Applications of parametric searching in geometric optimization,Proc. 3rd ACM-SIAM Symp. on Discrete Algorithms (SODA '92), 1992, pp. 72–82.
M.J. Atallah, A linear time algorithm for the Hausdorff distance between convex polygons, Inform. Process. Lett. 17(1983)207–209.
M. Atallah, Dynamic computational geometry,Proc. 24th Annual Symp. on Foundations of Computer Science, 1983, pp. 92–99; also in Comp. Math. Appl. 11(1985)1171–1181.
B. Behrends, Algorithmen zur Erkennung derε-Kongruenz von Punktmengen und Polygonen, Diplomarbeit, FB Mathematik, FU Berlin (1990).
R.V. Benson,Euclidean Geometry and Convexity (McGraw-Hill, 1966).
G.M. Ewing,Calculus of Variations with Applications (Dover Publ., New York, 1985).
H. Edelsbrunner, J. Pach, J.T. Schwartz and M. Sharir, On the lower envelope of bivariate functions and its applications,Proc. 28th Annual Symp. on Foundationof Computer Science, 1987, pp. 27–37.
S. Fortune, A sweepline-algorithm for Voronoi diagrams, Algorithmica 2(1987)153–174.
W. Fulton,Algebraic Curves (Benjamin, New York/Amsterdam, 1969).
M. Godau, A natural metric for curves — computing the distance for polygonal chains and approximation algorithms,Proc. 8th STAGS, Springer Lecture Notes in Comp. Sci. 480(991)127–126.
D.P. Huttenlocher and K. Kedem, Computing the minimum Hausdorff distance for point sets under translation,Proc. 6th Annual Symp. on Computational Geometry, 1990, pp. 340–349.
G.E. Martin,Transformation Geometry (Springer, New York/Heidelberg/Berlin, 1982).
S. Schirra, Über die Bitkomplexität derε-Kongruenz, Diplomarbeit FB Informatik, Universität des Saarlandes (1988).
C.K. Yap, AnO(nlogn) algorithm for the Voronoi diagram of a set of simple curve segments, Discr. Comp. Geom. 2(1987)365–393.
Author information
Authors and Affiliations
Additional information
This research was supported by the Deutsche Forschungsgemeinschaft under Grant Al 253/1–2, Schwerpunktprogramm “Datenstrukturen und effiziente Algorithmen”, and by the ESPRIT Basic Research Action No. 7141 (ALCOM II).
Rights and permissions
About this article
Cite this article
Alt, H., Behrends, B. & Blömer, J. Approximate matching of polygonal shapes. Ann Math Artif Intell 13, 251–265 (1995). https://doi.org/10.1007/BF01530830
Issue Date:
DOI: https://doi.org/10.1007/BF01530830