Fast image template and dictionary matching algorithms
Given a large text image and a small template image, the Template Matching Problem is that of finding every location within the text which looks like the pattern. This problem, which has recieved attention for low-level image processing, has been formalized by defining a distance metric between arrays of pixels and finding all subarrays of the large image which are within some threshold distance of the template. These so-called metric methods tends to be too slow for many applications, since evaluating the distance function can take too much time.
We present a method for quickly eliminating most positions of the text from consideration as possible matches. The remaining candidate positions are them evaluated one by one against the template for a match. We are still guaranteed to find all matching positions, and our method gives significant speed-ups.
Finally, we consider the problem of matching a dictionary of templates against a text. We present methods which are much faster than matching the templates individually against the input image.
Key wordsTemplate Matching Metrics Similarity Methods Filtration Methods Dictionary Matching
Unable to display preview. Download preview PDF.
- 1.Barnea and Silverman. A class of algorithms for fast digital image registration. IEEE Trans. Comput., 21:179–186, 1972.Google Scholar
- 2.Tzi-cker Chiueh. Content-based image indexing. In Proceedings of the Twentieth International Conference on Very Large Databases, pages 582–593, Santiago, Chile, 1994.Google Scholar
- 3.Ramapriyan H. K. a multilevel approach to sequential detection of pictorial features. IEEE Trans. Comput., 25:66–78, 1976.Google Scholar
- 4.Wayne Niblack.Digital Image Processing. Prentice hall: International (UK), Birkeroed, Denmark, 1986.Google Scholar
- 5.Wayne Niblack. Comments on cross correlation vs. differencing methods. Personal Comunication, 1996.Google Scholar
- 6.W. K. Pratt. Correlator techniques of image registration. IEEE Trans. Aerosp. Electron. Syst., 10:353–358, 1974.Google Scholar
- 7.PeterL-J Chen Ramesh Jain, S.N. Jayaram Murthy. Similarity measures for image databases.: SPIE, 2420:58–65, 1995.Google Scholar
- 8.R.Y. Wong. Sequential pattern recognition as applied to scene matching. PhD. thesis, Univ. of Southern California, L.A. Dec., 1976.Google Scholar