Convert Some Pixel from binary image

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

0 voti

5 Commenti

thanks but i faced another problem,
how i can convert the image bellow
i need to remove just the small holesques2.jpg
Walter Roberson
Walter Roberson il 2 Giu 2019
Modificato: Image Analyst il 2 Giu 2019
Complement the image, then call bwareafilt, then complement again.
still i cannot solve the problem,
YourFilledImage = imcomplement(bwareafilt(imcomplement(im2bw(YourImage)),2));
Many thanks for your help,

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Images in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by