Convert Some Pixel from binary image
1 view (last 30 days)
Show older comments
mohammed alany
on 1 Jun 2019
Commented: mohammed alany
on 3 Jun 2019
Dear all
If I have a binary image like the one below,
how i can remove the black color inside the white color?
0 Comments
Accepted Answer
Walter Roberson
on 2 Jun 2019
https://www.mathworks.com/help/images/ref/imfill.html imfill() with 'holes'
5 Comments
Walter Roberson
on 2 Jun 2019
YourFilledImage = imcomplement(bwareafilt(imcomplement(im2bw(YourImage)),2));
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!