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?
0 个评论
采纳的回答
Walter Roberson
2019-6-2
https://www.mathworks.com/help/images/ref/imfill.html imfill() with 'holes'
5 个评论
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!