remove connected small objects in image

Hello every one
I had a code that results me this result
it is some how acceptable in bw but in rgb
I need only the tongue for AI processing
how to remove these little objects that connected to my image

 採用された回答

Ahmet Cecen
Ahmet Cecen 2018 年 3 月 4 日

0 投票

Look at imopen. This might be an easy way to treat this particular case.

1 件のコメント

Ahmed raafat
Ahmed raafat 2018 年 3 月 6 日
it worked but with mask not strel
thanks for advise

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2018 年 3 月 4 日

0 投票

You could try activecontour(). See attached demo.

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by