Published July 28, 2010 | Version v1

Geometric Point Pattern Matching in the Knuth-Morris-Pratt Way

Authors/Creators

  • 1. University of Helsinki, Helsinki, Finland

Description

Given finite sets P and T of points in the Euclidean space Rd, the point pattern matching problem studied in this paper is to find all translations f ∈ Rd such that P + f ⊆ T. A fast search algorithm with some variants is presented for point patterns P that have regular grid-like geometric shape. The algorithm is analogous to the Knuth-Morris-Pratt algorithm of string matching. The time requirement of the search is O(r|T|) where r is the grid dimension of P. Pattern P has grid dimension r = 1 if it consists of evenly spaced points on a line. In general, a pattern P is an r-dimensional grid if it has for some p ∈ P and e1, ... , er ∈ Rd and positive integers m1, ... , mr a representation P = {p + i1e1 + ⋅⋅⋅ + irer | 0 ≤ ij ≤ mj} where the ij's are integers. Both P and T are given to the search algorithm in the lexicographic order.

Files

jucs_article_29739.pdf

Files (130.1 kB)

Name Size
md5:a83fc596005292c10c42b90a19b56454
130.1 kB Preview Download