American Journal of Applied Sciences

Efficient Processing for Binary Submatrix Matching

Azzam Sleit, Wesam AlMobaideen, Mohammad Qatawneh and Heba Saadeh

DOI : 10.3844/ajassp.2009.78.88

American Journal of Applied Sciences

Volume 6, Issue 1

Pages 78-88

Abstract

The heavy demand for large volumes of digital data has increased the interest in matrix-like representation. Matrices are well organized data structures which are suitable to store uniform data in order to simplify data access and manipulation. For several applications, the need is critical to efficiently search for a specific pattern in matrix structures. A pattern can be represented as an n-dimensional matrix which can be searched for within other larger n-dimensional matrices. This query will be referred to as matrix submatching. In this paper, we present and compare two algorithms for binary matrix submatching on the basis of time requirement. The first algorithm is a naive brute force approach with O(n2m2) time requirement. The second approach is based on chain code transformation which reduces the sizes of matrices resulting in less time requirement.

Copyright

© 2009 Azzam Sleit, Wesam AlMobaideen, Mohammad Qatawneh and Heba Saadeh. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.