4.0

4.0 | 3 ratings Rate this file 160 Downloads (last 30 days) File Size: 55.1 KB File ID: #20061
image thumbnail

Template Matching

by Alaa Eleyan

 

27 May 2008 (Updated 27 May 2008)

finding template image inside a target image

| Watch this File

File Information
Description

two functions used to implement template matching. the program finds the template image inside the target image using correlation.

Required Products Aerospace Blockset
MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
05 Jun 2008 Legesse Zerubabel  
09 Aug 2008 Jessica Keating

Hello!this was quite useful to me. But the detection ends once it finds one instance. Is there a way to mark a rectangle over all the instances that it finds?

19 Jan 2009 Lee Borland

Hi there.

Can I ask how to implement this? When you say 2 functions are used, which 2? And you're trying to match image2 to image1? I have to match a scale marking in my image(scale is 10mm). So if i have an image of just the 10mm marking, i call it "image2" and then just rename my origional "image1"??

Sorry, little confused.

Cheers
lee

29 Jan 2009 Chen yuan

one of the code in tmp.m file: M(i,j)=corr/sqrt(sum(sum(Nimage.^2))) that used for Nimage(target image) normalization, whether is it lack of a normalizated for image22(template image)? i modified M(i,j):M(i,j)=corr/sqre(sum(sum(Nimage.^2))) *sum(sum(image22.^2)))) , is it necessary?

13 Apr 2009 Hanaa

Hi Everyone,

This is great. But how do you detect facial features using template matching?

I'll be very grateful for your help. Thanks! :)

25 Aug 2011 Aiden

hi.. how do you find multiple letters in the template file?

need help

06 Feb 2012 lingru celine

may i know the whole coding for this template matching? now i'm doing the project is similar to this...i'm no idea how to do ... thanks

11 Feb 2012 john john

perfect =)

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
application Alaa Eleyan 22 Oct 2008 10:03:41
correlation Alaa Eleyan 22 Oct 2008 10:03:41
template matching Alaa Eleyan 22 Oct 2008 10:03:41
template image Alaa Eleyan 22 Oct 2008 10:03:41
image p Alaa Eleyan 22 Oct 2008 10:03:41
target image Alaa Eleyan 22 Oct 2008 10:03:41
template matching marco rondon 04 Jan 2009 20:52:20
template matching Sagar 22 Mar 2009 03:21:42
template matching rakesh markam 25 Jul 2009 06:06:02
template matching WARISHAH ABDUL WAHAB 10 Oct 2010 10:52:45
application SLim 13 Jul 2011 11:32:22
correlation SLim 13 Jul 2011 11:32:29
image p SLim 13 Jul 2011 11:32:33
target image SLim 13 Jul 2011 11:32:35
template image SLim 13 Jul 2011 11:32:38
template matching SLim 13 Jul 2011 11:32:41
application Mohammed 07 Dec 2011 08:11:30
image reconition shri sant gadge baba 04 Feb 2012 04:11:38
correlation Goh Rong Yao Rong Yao 09 Feb 2012 04:39:33

Contact us at files@mathworks.com