Count the endpoints in a image
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
![](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 Kommentare
Rik
am 14 Okt. 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.
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!