find main area of image
Show older comments
Hello,
I am trying to lear how I can remove the small objects to find the main area of the image (the black section between the long lines (edges)? I want ot get rid of external and internal objects.
Thanks for the helps

Accepted Answer
More Answers (1)
Image Analyst
on 6 Dec 2019
1 vote
Looks like you're doing an edge detection for some reason. Can I see the original image? Because usually edge detection is NOT what you want to do, for exactly the reasons you are seeing. It would probably be better to use a different segmentation method, like thresholding.
4 Comments
Image Analyst
on 6 Dec 2019
Edited: Image Analyst
on 10 Dec 2019
Exactly as I thought. You don't want to do edge detection. You should do color segmentation. If all your subjects are on green grass, you should use the Color Thresholder app on the Apps tab of the tool ribbon to find all green stuff. Anything that is not green is your subject. Let me know if you can't figure it out.
Or you might try training a deep learning model to identify the subjects from overhead images.
Very Determined
on 6 Dec 2019
Edited: Image Analyst
on 10 Dec 2019
Image Analyst
on 10 Dec 2019
I changed the keyword to subject. It looks like the images are no longer there for some reason, perhaps because you took them down from your site.
Very Determined
on 10 Dec 2019
Edited: Very Determined
on 10 Dec 2019
Categories
Find more on Image Category Classification 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!
