Convert Some Pixel from binary image

1 次查看(过去 30 天)
Dear all
If I have a binary image like the one below,
how i can remove the black color inside the white color?

采纳的回答

Walter Roberson
Walter Roberson 2019-6-2
  5 个评论
Walter Roberson
Walter Roberson 2019-6-2
YourFilledImage = imcomplement(bwareafilt(imcomplement(im2bw(YourImage)),2));

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by