How to remove/separate the Big Connected Components

2 次查看(过去 30 天)
Hi EveryOne.
i want to know how to remoe/separate the big connected regions from binary image, as i already label the connected components using bwlabel and draw the Bounding Boxes around connected components using regionprops and BoundingBox but now the only thing i need to know is how to "remoe/separate the big connected regions" as i want to seprate those regions that have length and width equall to humans from big regions.
Note: I don't want to use length and width constraints for doing the above thing neither i want to use area (blobmeasurments.area) for doing this. If any one know some kind of algorithm for doing the above mention work then kindly share it will be very helpfull for me thanx. (please don't mention the built in matlab functions, as i need complete method for doing this, so plz give/suggest me an algorithm that i can apply for doing this).

回答(1 个)

Image Analyst
Image Analyst 2020-6-18
Try bwareaopen() or bwareafilt().
  1 个评论
QuestionsAccount
QuestionsAccount 2020-6-18
Image Analyst thanx for your reply but i solved this problem as i asked this question a long time ago.
Now i came up with another problem i asked about that problem in a separte question. so i will be very thank full to you if you help me in solving my problem that i asked in this question. https://www.mathworks.com/matlabcentral/answers/550329-human-silhouettes-verification-technique

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by