摘要 |
Disclosed is an image matching method, comprising: performing global template matching of a template image in a source image, and controlling the template image to slide in the source image so as to find the best matching region; calculating feature points and feature vectors of the template image and the source image; calculating, according to the feature points and the feature vectors, calculating a visual similarity between the optimal matching region and the template image; if the visual similarity is zero, determining that the optimal matching region does not match with the template image; if the visual similarity is not zero, obtaining a pair of matching feature points of the template image and the source image, and calculating location coordinates of the best matching image according to the pair of matching feature points. Also disclosed is a platform for testing of mobile phone applications on the basis of image matching. The present invention reduces the complexity of the matching algorithm, thereby improving the efficiency of image matching and the efficiency of the testing of mobile phone applications on the basis of image matching. |