Real Two Dimensional Scaled Matching

  • Authors:
  • Amihood Amir;Ayelet Butman;Moshe Lewenstein;Ely Porat

  • Affiliations:
  • Bar-Ilan University, Ramat-Gan, Israel and John Hopkins University, Baltimore, USA;Holon Academic Institute of Technology, Holon, Israel;Bar-Ilan University, Ramat-Gan, Israel;Bar-Ilan University, Ramat-Gan, Israel

  • Venue:
  • Algorithmica
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

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).