find the certain region in image
Show older comments
i have a set of image database. I am providing two images for my query. I want to find the region marked in blue.

However, if the top tip is attached to one of the regions then I want to ignore that image and do nothing.Like this

Some thoughts: I can't use bwconnected components area for those two regions because there are images in DB where tip can be extreme left or right. In those cases, one area is very small and other will be large. That hole can be at different places in different imagesets.
3 Comments
Arsalan Akbar
on 12 Jul 2018
have you solve this question?
Image Analyst
on 12 Jul 2018
Possibly not since he didn't mark my solution below as accepted. However I still think that my code below would have worked. Did you try it?
Arsalan Akbar
on 16 Jul 2018
No Sir, i have not tried it yet . You are using area filter which returns the biggest blobs but some times the information is missing and 4,5 or some time 6 blobs are in the images . in that case this code may not work fine . and may be that is why he is not using your code
Accepted Answer
More Answers (0)
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!