MATLAB: How to find end point of handwritten character

Image Processing Toolboxmorphology

Can anyone help me to find coordinates of end-point of attached handwritten image in Matlab.

Best Answer

Skeletonize then call bwmorph(). Something like
binaryImage = grayImage < someThresholdValue;
binaryImage = bwmorph(binaryImage, 'skel', inf);
binaryImage = bwmorph(binaryImage, 'endpoints');
Related Question