Convert Some Pixel from binary image

조회 수: 1 (최근 30일)
mohammed alany
mohammed alany 2019년 6월 1일
댓글: mohammed alany 2019년 6월 3일
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));
mohammed alany
mohammed alany 2019년 6월 3일
Many thanks for your help,

댓글을 달려면 로그인하십시오.

추가 답변 (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