Convert Some Pixel from binary image

2 次查看(过去 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 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by