How to remove/separate the Big Connected Components

조회 수: 3 (최근 30일)
QuestionsAccount
QuestionsAccount 2020년 3월 26일
댓글: QuestionsAccount 2020년 6월 18일
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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by