Skip to main content

Indexed Polygon Matching Under Similarities

  • Conference paper
  • First Online:
Similarity Search and Applications (SISAP 2021)

Abstract

Polygons appear as constructors in many applications and deciding if two polygons match under similarity transformations and noise is a fundamental problem. Solutions in the literature consider only matching pairs of polygons, implying a sequential comparison when we have a collection. In this paper, we present the first algorithm allowing indexed retrieval of polygons under similarities. We reduce the problem to searching points in the plane, exact searching in the absence of noise, and approximate searching for similar noisy polygons. The above gives a \(O(n+\log (m))\) time algorithm to find the matching polygons under noise and O(1) time for exact similar polygons. We tested our heuristic for indexed polygons in an extensive collection of convex, star-shaped, simple, and self-intersecting polygons. For small amounts of noise, we achieve perfect recall for all polygons. For large amounts of noise, the lowest recall is for convex polygons, while attaining the highest recall is for general (self-intersecting) polygons. The above is not a significant limitation. To recover convex polygons efficiently before indexing, we define a random permutation of the vertices, converting all input polygons to a general polygon and achieving the same successful recovery rates, which is a perfect recall for high noise levels.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Arkin, E.M., Chew, L.P., Huttenlocher, D.P., Kedem, K., Mitchell, J.S.B.: An efficiently computable metric for comparing polygonal shapes. IEEE Trans. Pattern Anal. Mach. Intell. 13(3), 209–216 (1991)

    Article  Google Scholar 

  2. Atallah, M.J., Ribeiro, C.C., Lifschitz, S.: Computing some distance functions between polygons. Pattern Recogn. 24(8), 775–781 (1991)

    Article  Google Scholar 

  3. Auer, T., Held, M.: Heuristics for the generation of random polygons. In: Sack, J.-R., Fiala, F., Kranakis, E. (eds.) Proceedings 8th Canadian Conference on Computational Geometry, pp. 38–43. Carleton University Press (1996)

    Google Scholar 

  4. Barnes, N., Loy, G., Shaw, D.: The regular polygon detector. Pattern Recogn. 43(3), 592–602 (2010)

    Article  Google Scholar 

  5. Biedl, T., Durocher, S., Snoeyink, J.: Reconstructing polygons from scanner data. Theor. Comput. Sci. 412(32), 4161–4172 (2011)

    Google Scholar 

  6. Buchin, K., Buchin, M., Wenk, C.: Computing the Fréchet distance between simple polygons. Comput. Geom. 41(1–2), 2–20 (2008). Special Issue on the 22nd European Workshop on Computational Geometry (EuroCG)

    Google Scholar 

  7. Chávez, E., Chávez-Cáliz, A.C., López-López, J.L.: Affine invariants of generalized polygons and matching under affine transformations. Comput. Geom. 58, 60–69 (2016)

    Article  MathSciNet  Google Scholar 

  8. Chris Ficher, J., Ruoff, D., Shilleto, J.: Perpendicular polygons. Amer. Math. Monthly 92(1), 23–37 (1985)

    Google Scholar 

  9. Antonio Hernández, E., Alonso, M.A., Chávez, E., Covarrubias, D.H., Conte, R.: Robust polygon recognition method with similarity invariants applied to star identification. Adv. Space Res. 59(4), 1095–1111 (2017)

    Google Scholar 

  10. Huang, J.: A new model for general polygon matching problems. Precis. Eng. 33(4), 534–541 (2009)

    Article  Google Scholar 

  11. Kaygin, S., Bulut, M.M.: Shape recognition using attributed string matching with polygon vertices as the primitives. Pattern Recogn. Lett. 23(1–3), 287–294 (2002)

    Article  Google Scholar 

  12. Leszczynski, K., Loose, S.: A polygon matching algorithm and its applications to verification of radiation field placement in radiotherapy. Int. J. Biomed. Comput. 40(1), 59–67 (1995)

    Article  Google Scholar 

  13. Liu, H., Wang, Z.: PLDD: point-lines distance distribution for detection of arbitrary triangles, regular polygons and circles. J. Vis. Commun. Image Represent. 25(2), 273–284 (2014)

    Article  Google Scholar 

  14. López-López, J.L.: The area as a natural pseudo-Hermitian structure on the spaces of plane polygons and curves. Diff. Geom. Appl. 28(5), 582–592 (2010)

    Article  MathSciNet  Google Scholar 

  15. McCreath, E.C.: Partial matching of planar polygons under translation and rotation. In: Proceedings of the 20th Canadian Conference on Computational Geometry, pp. 47–50 (2008)

    Google Scholar 

  16. Neustupnỳ, E.: Polygons in archaeology. Památky archeologické 87, 112–136 (1996)

    Google Scholar 

  17. Tsai, W.H., Yu, S.S.: Attributed string matching with merging for shape recognition. IEEE Trans. Pattern Anal. Machine Intell. 7(4), 453–462 (1985)

    Article  Google Scholar 

  18. Veltkamp, R.C., Hagedoorn, M.: State of the art in shape matching. In: Lew, M.S. (ed.) Principles of Visual Information Retrieval, pp. 87–119. Springer, London (2001). https://doi.org/10.1007/978-1-4471-3702-3_4

Download references

Acknowledgments

We want to thank David Mount for carefully reading an early version of this manuscript and providing precious suggestions. We are grateful to Tomas Auer and Martin Held [3] who maintain a repository for polygon generation. We used their software to generate polygons of various types for our experiments.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Edgar Chavez .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Luque-Suarez, F., López-López, J.L., Chavez, E. (2021). Indexed Polygon Matching Under Similarities. In: Reyes, N., et al. Similarity Search and Applications. SISAP 2021. Lecture Notes in Computer Science(), vol 13058. Springer, Cham. https://doi.org/10.1007/978-3-030-89657-7_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-89657-7_22

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-89656-0

  • Online ISBN: 978-3-030-89657-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics