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