Convert Some Pixel from binary image

1 view (last 30 days)
Dear all
If I have a binary image like the one below,
how i can remove the black color inside the white color?

Accepted Answer

Walter Roberson
Walter Roberson on 2 Jun 2019
  5 Comments
Walter Roberson
Walter Roberson on 2 Jun 2019
YourFilledImage = imcomplement(bwareafilt(imcomplement(im2bw(YourImage)),2));

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!