Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How can I define suitable value for big objects

2 views (last 30 days)
ali
ali on 5 Jul 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi all in this image, I want to remove big objects. I use this code
BW2 = bwareaopen(thresh_image_conv,5000); newBW2=imsubtract(thresh_image_conv,BW2);
So is there a way to define appropriate value for this kind of objects. Something like a tolerance should be. Because i found this value emprically. The original and selcted ones are attached there. You can see red ones are selected big. But there should be more acording to my code. This level is belong to me so how can i make a decision automatically this value. Thanks for suggestion.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!