Count the endpoints in a image
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/379941/image.png)
How to count the number of endpoints as marked in this image.
I tried with bwmorph(endpoints). But my output is like this.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/379946/image.png)
5 comentarios
Rik
el 14 de Oct. de 2020
You could try imclose to close the gaps and smoothen your mask. Another possibility is to modify your initial mask creation.
Side note: if you want help with your specific images you will have to attach the originals.
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!