How to erode certain parts of an image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Adam Kelly
el 8 de Nov. de 2019
Comentada: Adam Kelly
el 8 de Nov. de 2019
Hey does anyone know the best way to erode certain parts of a binary image. I need to get rid of the left hand side that is the black box with the stars and IRL in it and the dashes between 131 CN 37.
I have tried imerode rectangle, square, disk and non of them have gotten rid of what I needed. Any help would be great!
0 comentarios
Respuesta aceptada
KALYAN ACHARJYA
el 8 de Nov. de 2019
Editada: KALYAN ACHARJYA
el 8 de Nov. de 2019
You can do that in multiple ways:
result1=bwareafilt(binary_image,1);
result2=~bwareafilt(~result1,9);
imshow(result2)
2 comentarios
KALYAN ACHARJYA
el 8 de Nov. de 2019
Editada: KALYAN ACHARJYA
el 8 de Nov. de 2019
Is it solved now?
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!