Find end points in a binary skeleton image
out = iendpoint(im) is a binary image where pixels are set if the corresponding pixel in the binary image im is the end point of a single-pixel wide line such as found in an image skeleton. Computed using the hit-or-miss morphological operator.
itriplepoint, ithin, hitormiss
Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.