Advance Template match.
Return the location of the template in the image and the score of the best match.
Show the image (Is) with the template marked on it.
INPUT:
1) Grayscale image where the template should be found (Is).
2) The template Binary image (Itm).
Method: Use the difference between the edge density on the template and around the template to get the match score. Work better than regular template match for images with dense features and noise.
The template size and the object size to be recognised in the image must be the same. For the similar function that recognises the template in in the image variable of sizes relative to the image see “Advance template match variable image to template size ratio”.
Cite As
sagi eppel (2024). Advance Template match. (https://www.mathworks.com/matlabcentral/fileexchange/44998-advance-template-match), 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.