remove connected small objects in image

2 views (last 30 days)
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

Accepted Answer

Ahmet Cecen
Ahmet Cecen on 4 Mar 2018
Look at imopen. This might be an easy way to treat this particular case.
  1 Comment
Ahmed raafat
Ahmed raafat on 6 Mar 2018
it worked but with mask not strel
thanks for advise

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 4 Mar 2018
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