how to remove the tiny white pixels around the rectangles
Mostrar comentarios más antiguos
How can i remove the tiny pixels around the rectangles in the image attached. attached images.
Respuesta aceptada
Más respuestas (2)
imopen(yourImage,ones(3))
Image Analyst
el 29 de Sept. de 2022
0 votos
Depends on exactly what that means.
- Do you want to simply remove small blobs?
- Or do you also want to remove a small protrusion that is sticking out of the side of a much larger rectangle.
For case 2 you might try imopen, though be careful for changes to the shape you don't want, especially near the corners or protruding blobs.
Categorías
Más información sobre Image Category Classification en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

