Template Matching between two binary image.

조회 수: 9 (최근 30일)
Asif Hasan
Asif Hasan 2014년 11월 16일
댓글: Image Analyst 2014년 11월 16일
Sir,
I have two binary images. One is the main image and another is for template image. Now i want to match them to see if they are equal or not. What will be the best approach to do that for this kind of problem? For your well understanding i attach two images
this is the main binary image
And this is the template image
Please help sir.

답변 (1개)

Image Analyst
Image Analyst 2014년 11월 16일
편집: Image Analyst 2014년 11월 16일
Try using Hu's moments: http://www.youtube.com/watch?v=Nc06tlZAv_Q Hu's moments for the image will match if the image is rotated, translated, scaled, etc.
  댓글 수: 4
Asif Hasan
Asif Hasan 2014년 11월 16일
Your guess is right i am working on a thesis of identifying individual and i am getting this image of blood vessel of sclera but i can't understand how i will match these images with template image . I want to save these images in a database and next time i want to check using this image with the database if it's in my database or not. Can you help me with that , sir? i already used a template matching matlab code but there is a color or gray scale image as a input but my image is binary what approach should i take? @image Analist
Image Analyst
Image Analyst 2014년 11월 16일
I already suggested Hu's moments. I don't know why you rejected that. I actually haven't used it myself but it looks promising. There are other methods. Look up methods in Vision Bib on pattern recognition. Do a search on CBIR which uses a large variety of methods to match features and objects. I can't help much more, especially since soon I will be traveling for most of today and tomorrow.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by