How can I extract similar objects in an image?
4 views (last 30 days)
Show older comments
Hello every one.
Thank you in advance for your help.
I want to extract automatically shape q from image b. As you can see, there are four of shape q.
I do not know how?
I tried to use feature extraction but it did not work.
Please help me.
0 Comments
Answers (1)
Image Analyst
on 31 Jul 2015
First try using either normalized cross correlation, demo script attached below this message,
4 Comments
Image Analyst
on 31 Jul 2015
The template does not have a position. It's just a template. Then normxcorr2 will find out where the template lives in the other, larger image. It will work for either of those two small templates you posted as long as they're the same size feature, and same orientation, in the larger image you're going to search.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!