필터 지우기
필터 지우기

How can I delete non-connected contour from binary image??

조회 수: 1 (최근 30일)
abdelrahim hashem
abdelrahim hashem 2017년 11월 28일
답변: Image Analyst 2017년 11월 28일
I have binary image containing many contours, I need to delete discontinuous contours and keep those are connect.

답변 (1개)

Image Analyst
Image Analyst 2017년 11월 28일
Try bwselect(). Or bwareafilt() or bwpropfilt(). Or label it with bwlabel() and use some other criteria to identify the ones you don't want then use ismember.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by