Re: Two-dimensional pattern matching/compression
- From: "Paul E. Black" <p.black@xxxxxxx>
- Date: Wed, 12 Jul 2006 12:52:56 -0400
On Wednesday 12 July 2006 05:52, Herbert Glarner wrote:
My intuition does suggest,
that eliminating the largest patterns first (by merging into the
hypermatrix) leads to less comparisons for the later smaller patterns:
the "hypermatrix" already is a compressed representation in either case,
but initially it is small and thus there is not much to check. As it
grows, I certainly would be thankful for smaller patterns reducing the
overall number of comparisons.
However, the efficiency question still remains, as with n patterns I
need to compare n(n-1)/2 patterns, and comparing two two-dimensional
patterns isn't quite effective, as both Boyer-Moore and KPM seem to be a
large overhead.
A 2D analog of suffix trees may be useful. Create all "suffix" (say,
lower right) sub-matrixes of the matrixes to be merged. If there is
overlap (not totally disjoint or totally embedded), the "prefix" of
one must match some "suffix" of the other.
http://www.nist.gov/dads/HTML/suffixtree.html
There are a number of spatial access methods that may help search
matrixes:
http://www.nist.gov/dads/HTML/spatialAccessMethod.html
-paul-
--
Paul E. Black (p.black@xxxxxxx)
.
- Follow-Ups:
- Re: Two-dimensional pattern matching/compression
- From: Herbert Glarner
- Re: Two-dimensional pattern matching/compression
- References:
- Re: Two-dimensional pattern matching/compression
- From: Herbert Glarner
- Two-dimensional pattern matching/compression
- From: Herbert Glarner
- Re: Two-dimensional pattern matching/compression
- From: neleai
- Re: Two-dimensional pattern matching/compression
- From: jacko
- Re: Two-dimensional pattern matching/compression
- From: Herbert Glarner
- Re: Two-dimensional pattern matching/compression
- Prev by Date: k median clustering
- Next by Date: Re: Any pointers?
- Previous by thread: Re: Two-dimensional pattern matching/compression
- Next by thread: Re: Two-dimensional pattern matching/compression
- Index(es):
Relevant Pages
|