thinImage {handwriter} | R Documentation |
This function returns a vector of locations for black pixels in the thinned image. Thinning done using Zhang - Suen algorithm.
thinImage(img)
img |
A binary matrix of the text that is to be thinned. |
A thinned, one pixel wide, image.