Abstract
In this paper we apply computational geometry techniques to obtain an efficient algorithm for the following point set pattern matching problem. Given a setS ofn points and a setP ofk points in thed-dimensional Euclidean space, determine whetherP matches anyk-subset ofS, where a match can be any similarity, i.e., the setP is allowed to undergo translation, rotation, reflection, and global scaling. Motivated by the need to traverse the sets in an orderly fashion to shun exponential complexity, we circumvent the lack of a total order for points in high-dimensional spaces by using an extension of one-dimensional sorting to higher dimensions (which we call “circular sorting”). This mechanism enables us to achieve the orderly traversal we sought. An optimal algorithm (in time and space) is described for performing circular sorting in arbitrary dimensions. The time complexity of the resulting algorithm for point set pattern matching is O(n logn+kn) for dimension one and O(knd) for dimensiond≥2.
Similar content being viewed by others
References
A. V.Aho, J. E. Hopcroft, and J. D. Ullman,The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, MA.
H. Alt, K. Mehlhorn, H. Wagener, and E. Welzl, Congruence, Similarity and Symmetries of Geometric Objects,Discrete Comput. Geom.,3 (1988), 237–256.
M. D. Atkinson, An Optimal Algorithm for Geometrical Congruence,J. Algorithms,8 (1987), 159–172.
B. M. Chazelle, L. J. Guibas, and D. T. Lee, The Power of Geometric Duality,BIT,25 (1985), 76–90.
P. J. de Rezende, Point Set Pattern Matching in d-Dimensions, Ph.D. Dissertation, Northwestern University, Evanston, IL, 1988.
H. Edelsbrunner, J. O'Rourke, and R. Seidel, Constructing Arrangements of Lines and Hyperplanes with Applications,SIAM J. Comput.,15 (1986), 341–363.
H. Edelsbrunner, R. Seidel, and M. Sharir, On the Zone Theorem for Hyperplane Arrangements,SIAM J. Comput., to appear.
J. E. Goodman and R. Pollack, Multidimensional Sorting,SIAM J. Comput.,12 (1983), 484–507.
D. T. Lee and Y. T. Ching, The Power of Geometric Duality Revisited,Inform. Process. Lett.,21 (1985), 117–122.
F. P. Preparata and M. I. Shamos,Computational Geometry, Springer-Verlag, New York, 1985.
Author information
Authors and Affiliations
Additional information
Communicated by B. Chazelle.
Supported in part by CNPq-Conselho Nacional de Desenvolvimento Cientifico e Tecnológico (Brazil) under Grants 200331/79, 300157/90-8, and 500787/91-3.
Supported in part by the National Science Foundation under Grant CCR 8901815.
Rights and permissions
About this article
Cite this article
de Rezende, P.J., Lee, D.T. Point Set pattern matching ind-dimensions. Algorithmica 13, 387–404 (1995). https://doi.org/10.1007/BF01293487
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01293487