Fast Template Matching
نویسنده
چکیده
Although it is well known that cross correlation can be efficiently implemented in the transform domain, the normalized form of cross correlation preferred for template matching applications does not have a simple frequency domain expression. Normalized cross correlation is usually computed in the spatial domain for this reason. This short paper shows that unnormalized cross correlation can be efficiently normalized using precomputed tables containing the integral of the image and image over the search window. 1 Template Matching by Cross Correlation Correlation is an important tool in image processing, pattern recognition, and other fields. The correlation between two signals (cross correlation) is a standard approach to feature detection [1, 2] as well as a building block for more sophisticated recognition techniques (e.g. [3]). Textbook presentations of correlation commonly mention the convolution theorem and the attendant possibility of efficiently computing correlation in the frequency domain via the fast Fourier transform. Unfortunately the normalized form of correlation (correlation coefficient) preferred in many applications does not have a correspondingly simple and efficient frequency domain expression, and spatial domain implementation is recommended instead (e.g. [2], p. 585; also see e.g. [4] sections 13.2 and 14.5). This paper shows that the unnormalized correlation can be efficiently normalized using using precomputed tables of the integral of the signal and signal, i.e., summed-area tables [5]. Template matching techniques [1] attempt to answer some variation of the following question: Does the image contain a specified view of some feature, and if so, where? The use of cross correlation for template matching is motivated by the distance measure (squared Euclidean distance)
منابع مشابه
A New RSTB Invariant Image Template Matching Based on Log-Spectrum and Modified ICA
Template matching is a widely used technique in many of image processing and machine vision applications. In this paper we propose a new as well as a fast and reliable template matching algorithm which is invariant to Rotation, Scale, Translation and Brightness (RSTB) changes. For this purpose, we adopt the idea of ring projection transform (RPT) of image. In the proposed algorithm, two novel s...
متن کاملEvaluation of Similarity Measures for Template Matching
Image matching is a critical process in various photogrammetry, computer vision and remote sensing applications such as image registration, 3D model reconstruction, change detection, image fusion, pattern recognition, autonomous navigation, and digital elevation model (DEM) generation and orientation. The primary goal of the image matching process is to establish the correspondence between two ...
متن کاملFast algorithm for robust template matching with M-estimators
In this paper, we propose a fast algorithm for speeding up the process of template matching that uses M-estimators for dealing with outliers. We propose a particular image hierarchy called the p-pyramid that can be exploited to generate a list of ascending lower bounds of the minimal matching errors when a non-decreasing robust error measure is adopted. Then, the set of lower bounds can be used...
متن کاملFast Method for Robust Template Matching
In this paper, we propose a fast algorithm for speeding up the process of template matching that uses M-estimators for dealing with outliers. We propose a particular image hierarchy called the p-pyramid that can be exploited to generate a list of ascending lower bounds of the minimal matching errors when a non-decreasing robust error measure is adopted. Then, the set of lower bounds can be used...
متن کاملFast Eigen Matching Accelerating Matching and Learning of Eigenspace method
We propose Fast Eigen Matching, a method for accelerating the matching and learning processes of the eigenspace method for rotation invariant template matching (RITM). Correlation-based template matching is one of the basic techniques used in computer vision. Among them, rotation invariant template matching (RITM), which locates a known template in a query irrespective of the template’s transla...
متن کاملAccelerating Matching and Learning of Eigenspace method
We propose a method for accelerating the matching and learning processes of the eigenspace method for rotation invariant template matching (RITM). To achieve efficient matching using eigenimages, it is necessary to learn 2D-Fourier transform of eigenimages before matching. Little attentions has been paid to speeding up the learning process, which is important for applications in which a templat...
متن کامل