Simple Template match.

Find template Itm in the edge image of image Is.
1.3K Downloads
Updated 3 Sep 2014

View License

Simple Template match.
Find template (Itm) in edge image of image (Is).
Return the location of the template in the image and the score of the match in this point. Mark the template location on the image the image (Is).
INPUT:
1) Greyscale image where the template should be found (Is).
2)The template Binary image (Itm).
Method:
Use simple template match (Cross correlation) between the template (Itm) and the canny edge image of the grayscale image (Is).
The size of the template (Itm) and the size of object i to be recognised n the image (Is) must be the same.
For the similar function that recognise the template in image even if the object dont feet the template size see “Simple template match with variable image to template size ratio”.

Cite As

sagi eppel (2024). Simple Template match. (https://www.mathworks.com/matlabcentral/fileexchange/44999-simple-template-match), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.7.0.0

Description

1.6.0.0

Screenshot shrink

1.5.0.0

Screenshot

1.3.0.0

Edited

1.0.0.0