Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Abstract

Two planar figures aresimilar if a scaled version of one of them can be moved so that it coincides with the second figure. The problem of checking whether two planar figures are similar is relevant to both computational geometry and pattern recognition. An efficient algorithm is known for checking whether two polygonsP andQ are similar(1) The purpose of this note is to give an efficient algorithm for checking whether two planar figuresP andQ are similar when the figures are no longer constrained to be polygons. We give anO(n logn) time algorithm for solving this problem when each figure consists of a collection of (possibly intersecting) straight line segments, circles, and ellipses. Our algorithm can easily be modified for figures which include other geometric patterns as well. We also prove that our algorithm is optimal.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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. G. Manacher, An Application of Pattern Matching to a Problem in Geometrical Complexity,Information Processing Letters 5(1):6–7 (1976).

    Google Scholar 

  2. I. M. Yaglom,Geometric Transformations, Random House, New York, pp. 61–63.

  3. A. V. Aho, J. E. Hopcroft, and J. D. Ullman,The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, Massachusetts.

  4. D. E. Knuth, J. H. Morris, and V. R. Pratt, Fast Pattern Match in Strings, Stanford University CS-74-440 (1976).

  5. E. M. Reingold, On the Optimality of Some Set Algorithms,J. of the ACM 19(4):649–659 (1972).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

This work was partially supported by the Office of Naval Research under Contract N00014-84-K-0502.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Atallah, M.J. Checking similarity of planar figures. International Journal of Computer and Information Sciences 13, 279–290 (1984). https://doi.org/10.1007/BF00977833

Download citation

  • Received:

  • Revised:

  • Issue Date:

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

Key words