Count the endpoints in a image
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
![](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 Commenti
Rik
il 14 Ott 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.
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!