Pattern-matching problems for two-dimensional images described by finite automata

  • Authors:
  • Juhani Karhumäki;Wojciech Plandowski;Wojciech Rytter

  • Affiliations:
  • Department of Mathematics and Turku Centre for Computer Science Turku University 20014 Turku, Finland;Instytut Informatyki Uniwersytet Warszawski Banacha 2, 02-097 Warszawa, Poland and Department of Mathematics and Turku Centre for Computer Science 20014, Turku, Finland;Instytut Informatyki Uniwersytet Warszawski Banacha 2, 02-097 Warszawa, Poland and Department of Computer Science University of Liverpool

  • Venue:
  • Nordic Journal of Computing
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

The power of weighted finite automata to describe very complex images was widely studied, see [5, 6, 8]. Finite automata can be used as an effective tool for compression of two-dimensional images. There are some software packages using this type of compression, see [6, 13]. We consider the complexity of some pattern-matching problems for two-dimensional images which are highly compressed using finite deterministic and weighted automata as small descriptions of images. Our basic problems are compressed pattern-matching, where the pattern is given explicitly and the text is compressed, and fully compressed pattern-matching (when also the pattern is compressed). We consider also fully compressed pattern-checking: testing of a given occurrence of the compressed pattern in a given position. We prove: 1. Compressed matching for deterministic automata is in P. 2. Compressed matching for weighted automata is NP-complete. 3. Fully compressed pattern-checking for deterministic automata is in P. 4. Fully compressed matching for deterministic automata is NP-complete.