Abstract
Scaled Matching refers to the problem of finding all locations in the text where the pattern, proportionally enlarged according to an arbitrary real-sized scale, appears. Scaled matching is an important problem that was originally inspired by Computer Vision. Finding a combinatorial definition that captures the concept of real scaling in discrete images has been a challenge in the pattern matching field. No definition existed that captured the concept of real scaling in discrete images, without assuming an underlying continuous signal, as done in the image processing field. We present a combinatorial definition for real scaled matching that scales images in a pleasing natural manner. We also present efficient algorithms for real scaled matching. The running times of our algorithms are as follows. For T, a two-dimensional n×n text array, and P, an m×m pattern array, we find in T all occurrences of P scaled to any real value in time O(nm 3+n 2 mlog∈m).
Original language | English |
---|---|
Pages (from-to) | 314-336 |
Number of pages | 23 |
Journal | Algorithmica |
Volume | 53 |
Issue number | 3 |
DOIs | |
State | Published - Mar 2009 |
Bibliographical note
Funding Information:Research of A. Amir partially supported by ISF grant 282/01 and NSF grant CCR-01-04494.
Keywords
- Approximate pattern matching
- Combinatorial algorithms on words
- Design and analysis of algorithms
- Generalized pattern matching
- Pattern matching
- Scaled pattern matching