I'm Thilina a Software Engineering Student. And Im a starter in Image Processing.
I would like to know what do you mean by Power of The Image and DC components in your implementation of Template Matching. I would like get hear from you very soon.
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?
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.
09 Aug 2008
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?