Code covered by the BSD License  

Highlights from
Advance template match variable image to template size ratio

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

Advance template match variable image to template size ratio

by

 

15 Jan 2014 (Updated )

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

| Watch this File

File Information
Description

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.
Updates
15 Jan 2014

keyword

17 Jan 2014

edit

17 Jan 2014

caption image edited

10 Jun 2014

documentation

11 Jun 2014

title

03 Sep 2014

Changed

Contact us