摘要 |
The present invention provides a template matching technique that is robust to variations. An image matching method includes the steps of:
acquiring a model image (S11); generating a plurality of variation images by applying to the model image variations that are different from each other (S12); extracting features from each of the plurality of variation images (S13-S15); generating a model template based on the features (S16); and performing template matching using an input image and the model template. It may be preferable that the model template is generated using the features, a large proportion of which is extracted in the step of extracting the features, or preferentially using the features of the regions where the number of the features extracted is large or where the kurtosis of a feature distribution is high, for each region (S16). |