Faster Two Dimensional Scaled Matching
The rapidly growing need for analysis of digitized images in multimedia systems has lead to a variety of interesting problems in multidimensional pattern matching. One of the problems is that of scaled matching , finding all appearances of a pattern, proportionally enlarged according to an arbitrary...
Saved in:
Published in | Algorithmica Vol. 56; no. 2; pp. 214 - 234 |
---|---|
Main Authors | , |
Format | Journal Article |
Language | English |
Published |
New York
Springer-Verlag
01.02.2010
Springer |
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The rapidly growing need for analysis of digitized images in multimedia systems has lead to a variety of interesting problems in multidimensional pattern matching. One of the problems is that of
scaled matching
, finding all appearances of a pattern, proportionally enlarged according to an
arbitrary real-sized
scale, in a given text.
The currently fastest known algorithm for this problem uses techniques from dictionary matching to solve the problem in
O
(
nm
3
+
n
2
m
log
m
) time using
O
(
nm
3
+
n
2
) space, where
T
is a two-dimensional
n
×
n
text array and
P
is a two-dimensional
m
×
m
pattern array.
We present a new approach for solving the scaled matching problem improving both the running time and the space requirements. Our algorithm runs in
O
(
n
2
m
) time and uses
O
(
n
2
) space. |
---|---|
ISSN: | 0178-4617 1432-0541 |
DOI: | 10.1007/s00453-008-9173-3 |