Two-dimensional pattern matching with rotations

Amihood Amir, Ayelet Butman, Maxime Crochemore, Gad M. Landau, Mary Schaps

Research output: Contribution to journalArticlepeer-review

27 Scopus citations

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.

Original languageEnglish
Pages (from-to)173-187
Number of pages15
JournalTheoretical Computer Science
Volume314
Issue number1-2
DOIs
StatePublished - 25 Feb 2004

Bibliographical note

Funding Information:
Part of this research was conducted while the 2rst and fourth authors were visiting the University of Marne-La-Vall;ee supported by Arc-en-Ciel/Keshet, French–Israeli Scienti2c and Technical Cooperation Program. ∗Corresponding author. E-mail addresses: amir@cs.biu.ac.il (A. Amir), ayelet@cs.biu.ac.il (A. Butman), landau@poly.edu (G. M. Landau), mschaps@macs.biu.ac.il (M. Schaps). 1Partially supported by NSF grant CCR-01-04494, ISF grant 282/01, and an Israel–France exchange scientist grant funded by the Israel Ministry of Science. 2Partially supported by CNRS, NATO Science Programme grant PST.CLG.977017, and by Arc-en-Ciel/Keshet, French–Israeli Scienti2c and Technical Cooperation Program. 3Partially supported by NSF grants CCR-9610238 and CCR-0104307, by NATO Science Programme grant PST.CLG.977017, by the Israel Science Foundation grants 173/98 and 282/01, by the FIRST Foundation of the Israel Academy of Science and Humanities, by IBM Faculty Partnership Award, and by Arc-en-Ciel/Keshet, French–Israeli Scienti2c and Technical Cooperation Program.

Keywords

  • Design and analysis of algorithms
  • Rotation
  • Two-dimensional pattern matching

Fingerprint

Dive into the research topics of 'Two-dimensional pattern matching with rotations'. Together they form a unique fingerprint.

Cite this