View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Advance template match variable image to template size ratio

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 759 KB File ID: #45002 Version: 1.10
image thumbnail

Advance template match variable image to template size ratio


sagi eppel (view profile)


15 Jan 2014 (Updated )

Find template Itm in the canny edge image of image Is.

| Watch this File

File Information

Advance template match with variable template to image size ratio. Find template (Itm) n the canny edge image of image greyscale image (Is).
The template size don’t need to be the same to 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 line of closed contour.
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.
Input: Is colour image where the template should be found. 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.
Main function: MAIN_find_template_in_image
See ReadMe in source code dir file for instruction/documentation

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
15 Jan 2014 1.4


17 Jan 2014 1.6


17 Jan 2014 1.7

caption image edited

10 Jun 2014 1.8


11 Jun 2014 1.9


03 Sep 2014 1.10


Contact us