how to remove the tiny white pixels around the rectangles
Afficher commentaires plus anciens
How can i remove the tiny pixels around the rectangles in the image attached. attached images.
Réponse acceptée
Plus de réponses (2)
imopen(yourImage,ones(3))
Image Analyst
le 29 Sep 2022
0 votes
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.
Catégories
En savoir plus sur Image Category Classification dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

