How do I remove blobs connected to border?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 15 de Nov. de 2022
0 votos
Let me know if you can't figure it out and I'll give you the solution tomorrow.
Categorías
Más información sobre Region and Image Properties en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


