Two-dimensional pattern matching with rotations

  • Authors:
  • Amihood Amir;Ayelet Butman;Maxime Crochemore;Gad M. Landau;Malka Schaps

  • Affiliations:
  • Bar-Ilan University and Georgia Tech and Department of Computer Science, Ramat-Gan, Israel;Bar-Ilan University and Department of Computer Science, Ramat-Gan, Israel;University of Marne-La-Vallée and King's College London and Institut Gaspard-Monge;University of Haifa and Polytechnic University and Department of Computer Science, Haifa, Israel and Department of Computer and Information, Six MetroTech Center, Brooklyn, NY;Bar-Ilan University and Department of Mathematics, Ramat-Gan, Israel

  • Venue:
  • CPM'03 Proceedings of the 14th annual conference on Combinatorial pattern matching
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

The problem of pattern matching with rotation is that of finding all occurrences of a two-dimensional pattern in a text, in all possible rotations. We prove an upper and lower bound on the number of such different possible rotated patterns. Subsequently, given an m × m array (pattern) and an n × n array (text) over some finite alphabet Σ, we present a new method yielding an O(n2m3) time algorithm for this problem.