Convert Some Pixel from binary image

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

Risposta accettata

Walter Roberson
Walter Roberson il 2 Giu 2019
  5 Commenti
Walter Roberson
Walter Roberson il 2 Giu 2019
YourFilledImage = imcomplement(bwareafilt(imcomplement(im2bw(YourImage)),2));
mohammed alany
mohammed alany il 3 Giu 2019
Many thanks for your help,

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by