How to do template Matching between two images?
Mostrar comentarios más antiguos
Hi,
I have two images one is a binary image and other is a rgb image. I want to apply template matching method between these images (first 1 will be a template image & 2nd is the original image) for matching. What should i do? Please describe about template of an image. Thanks in advance.
Regards Asif
Respuestas (1)
Image Analyst
el 13 de Sept. de 2014
Editada: Image Analyst
el 13 de Sept. de 2014
0 votos
That's almost exactly what my demo of normalized cross correlation does. Turn your binary image into an RGB image
templateImage = cat(3, binaryImage, binaryImage, binaryImage);
Then run the m-file attached below the image.

6 comentarios
Asif Hasan
el 13 de Sept. de 2014
Image Analyst
el 13 de Sept. de 2014
If those template occur in the image, but it looks like they don't. You'd at least have to extract just the red channel and invert your binary images even to give it a try.
Asif Hasan
el 13 de Sept. de 2014
Editada: Asif Hasan
el 13 de Sept. de 2014
Image Analyst
el 13 de Sept. de 2014
I think you've asked this before and I said that I don't work in biometrics and referred you to VisionBib http://www.visionbib.com/bibliography/contentspeople.html#Face%20Recognition,%20Detection,%20Tracking,%20Gesture%20Recognition,%20Fingerprints,%20Biometrics There you will find algorithms infinitely better than whatever I would recommend.
Asif Hasan
el 13 de Sept. de 2014
Image Analyst
el 13 de Sept. de 2014
I don't know, other than what I've already told you. Why don't you email the authors for further clarification?
Categorías
Más información sobre Template Matching en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

