摘要 |
A method for finding a specific pattern is used to find a specific pattern in an image to be tested. The method comprises the following steps of: acquiring an image to be tested; performing a binary thresholding process on the image to be tested, thereby transforming the image to be tested into a binary image; performing a mosaic process on the binary image, thereby transforming the binary image into a mosaic image; utilizing a correlation coefficient method to find the specific pattern most similar to an image template from the mosaic image, wherein the image template is a desired mosaic pattern of the specific pattern; and transforming the mosaic image back into the binary image so as to find the coordinate of the specific pattern accurately.
|