Generalized hough transform with variable image to template size ratio
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.
Input:
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
Cite As
sagi eppel (2024). Generalized hough transform with variable image to template size ratio (https://www.mathworks.com/matlabcentral/fileexchange/45003-generalized-hough-transform-with-variable-image-to-template-size-ratio), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Tracking and Motion Estimation > Template Matching >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.