I am comparing an image with some existing images to find the match of that image in the existing images in matlab. How I can do that by using binary images?

1 view (last 30 days)
Any body can help me in this regard?

Answers (1)

Image Analyst
Image Analyst on 3 Oct 2014
It depends on how they might be different and how close you want the match to be. For an exact match, try subtracting them. For scaled and rotated versions, or for similar images ("return all pictures of babies"), look up CBIR (content based image retrieval) in a search engine. CBIR methods are varied and include methods like SIFT and SURF and gamut similarity tests.
  6 Comments
Sadiq Shah
Sadiq Shah on 3 Oct 2014
Binary shape matching of an image with the existing images; I am trying this by using the function im2bw, but confused how to use?
Image Analyst
Image Analyst on 3 Oct 2014
No, you don't want that to do shape matching. That's just to get a binary image, which you already have. Can you show one of your binary images, and some of the ones that you're checking it against for a possible match? And what would constitute a match? Same areas? Same perimeter? Same shape but different angle? Same shape but different size?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!