cv.thinning - MATLAB File Help
cv.thinning

Applies a binary blob thinning operation, to achieve a skeletization of the input image

dst = cv.thinning(src)
dst = cv.thinning(src, 'OptionName',optionValue, ...)

Input

Output

Options

The function transforms a binary blob image into a skeletized form using the technique of Zhang-Suen.

See also