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!