Generalized Hough Transform with variable size ratio: Use Generalised hough transform to find template (Itm) in grayscale image (Is).
The template size dosnt have to be the same as the target object on the image. Scan in various of size ratios of the image and the template to find best match.
The template (Itm) must be closed contour line.
1) Is: colour image where the template should be found.
2) Itm: The template Binary image, must be closed contour line.
Output: The location of the best match the score of the match. And the image with best match marked on it. Also return the resize image Is and resize template, in the size ratio that gave the best match.
See ReadMe file in the source code directory for instruction/documentation