Template Matching Method, Template Matching Apparatus, And Recording Medium That Records Program For It
First Claim
1. A template matching method of detecting the position of an image region similar to a template image region from on a reference image, comprising:
- calculating the similarity of the image region to the template image region at rough position intervals;
estimating the similarity at a position, where the similarity is not calculated, making use of the directional gradients of similarity obtained independently in a plurality of directions from the calculated values of similarity; and
determining the position having a small calculated or estimated value of the similarity as the position of the similar image region.
1 Assignment
0 Petitions
Accused Products
Abstract
There is provided a template matching method having a small amount of calculation and high detection accuracy. The amount of calculation is reduced while minimizing the degradation of the detection accuracy by calculating the similarity between a template image region and a reference image region at rough position intervals and estimating by interpolation of the similarity at a position where it is not calculated from the similarity calculated at a peripheral position. At the time, even if the gradient of a similarity greatly changes at the minimal point, estimation can be realized with high accuracy by executing estimation making use of the directional gradients of the similarity obtained in plural different directions independently. Additionally, occurrence of wrong detection is avoided by the restriction to disable the difference between the estimated similarity and adjacent similarity to exceed a threshold, which is defined based on the similarity between the template image region and the image region obtained by moving the template image region in the same direction as or in the opposite direction to the direction of estimation.
-
Citations
18 Claims
-
1. A template matching method of detecting the position of an image region similar to a template image region from on a reference image, comprising:
-
calculating the similarity of the image region to the template image region at rough position intervals; estimating the similarity at a position, where the similarity is not calculated, making use of the directional gradients of similarity obtained independently in a plurality of directions from the calculated values of similarity; and determining the position having a small calculated or estimated value of the similarity as the position of the similar image region. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A template matching apparatus for detecting the position of an image region similar to a template image region from on a reference image, comprising:
-
means for calculating the similarity of the image region to the template image region at rough position intervals; means for estimating the similarity at a position, where the similarity is not calculated, making use of the gradients of the similarity obtained independently in a plurality of directions from the calculated values of similarity; and means for determining the position having a small calculated or estimated value of the similarity as the position of the similar image region. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer readable recording medium that records a program for causing a computer to execute a template matching method of detecting the position of an image region similar to a template image region from on a reference image, wherein:
-
the method calculates the similarity of the image region to the template image region at rough position intervals; the method estimates the similarity at a position, where the similarity is not calculated, making use of the gradients of similarity obtained independently in a plurality of directions from the calculated values of similarity; and the method determines the position having a small calculated or estimated value of the similarity as the position of the similar image region. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification