How do I remove blobs connected to border?
Afficher commentaires plus anciens
I want to remove objects connected to the border of AOI (Area of interest). I'm not sure what I should do to solve this problem. I'm aware of the imclearborder() function, but this only removes objects along the border of the image itself. I want to remove the red rice shown below:

Any tips or advice would greately appreciated. Thank you!
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 15 Nov 2022
0 votes
Let me know if you can't figure it out and I'll give you the solution tomorrow.
Catégories
En savoir plus sur Region and Image Properties dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


