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

I have binary image containing many contours, I need to delete discontinuous contours and keep those are connect.

1 件のコメント

KSSV
KSSV 2017 年 11 月 28 日
Pictorial example will help us to help you..

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2017 年 11 月 28 日

0 投票

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.

タグ

質問済み:

2017 年 11 月 28 日

回答済み:

2017 年 11 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by