Skip to main content
Log in

Approximate matching of polygonal shapes

  • Published:
Annals of Mathematics and Artificial Intelligence Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. 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.

  2. 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.

    Google Scholar 

  3. H. Alt and M. Godau, Measuring the resemblance of polygonal curves,Proc. 8th Annual ACM Symp. on Computational Geometry, 1992, pp. 102—109.

  4. 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.

  5. H. Alt, K. Mehlhorn, H. Wagener and E. Welzl, Congruence, similarity and symmetries of geometric objects, Discr. Comp. Geom. 3(1988)237–256.

    Google Scholar 

  6. 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.

    Google Scholar 

  7. 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.

  8. M.J. Atallah, A linear time algorithm for the Hausdorff distance between convex polygons, Inform. Process. Lett. 17(1983)207–209.

    Google Scholar 

  9. 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.

  10. B. Behrends, Algorithmen zur Erkennung derε-Kongruenz von Punktmengen und Polygonen, Diplomarbeit, FB Mathematik, FU Berlin (1990).

    Google Scholar 

  11. R.V. Benson,Euclidean Geometry and Convexity (McGraw-Hill, 1966).

  12. G.M. Ewing,Calculus of Variations with Applications (Dover Publ., New York, 1985).

    Google Scholar 

  13. 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.

  14. S. Fortune, A sweepline-algorithm for Voronoi diagrams, Algorithmica 2(1987)153–174.

    Google Scholar 

  15. W. Fulton,Algebraic Curves (Benjamin, New York/Amsterdam, 1969).

    Google Scholar 

  16. 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.

  17. 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.

  18. G.E. Martin,Transformation Geometry (Springer, New York/Heidelberg/Berlin, 1982).

    Google Scholar 

  19. S. Schirra, Über die Bitkomplexität derε-Kongruenz, Diplomarbeit FB Informatik, Universität des Saarlandes (1988).

  20. C.K. Yap, AnO(nlogn) algorithm for the Voronoi diagram of a set of simple curve segments, Discr. Comp. Geom. 2(1987)365–393.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

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

Reprints 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

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01530830

Keywords

Navigation