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?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 2 de Jun. de 2019

0 votos

5 comentarios

mohammed alany
mohammed alany el 2 de Jun. de 2019
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 el 2 de Jun. de 2019
Editada: Image Analyst el 2 de Jun. de 2019
Complement the image, then call bwareafilt, then complement again.
mohammed alany
mohammed alany el 2 de Jun. de 2019
still i cannot solve the problem,
YourFilledImage = imcomplement(bwareafilt(imcomplement(im2bw(YourImage)),2));
mohammed alany
mohammed alany el 3 de Jun. de 2019
Many thanks for your help,

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 1 de Jun. de 2019

Comentada:

el 3 de Jun. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by