openalea.phenomenal.image.skeletonize.skeletonize_thinning#
- openalea.phenomenal.image.skeletonize.skeletonize_thinning(image)[source]#
Thinning is used to reduce each connected component in a binary image to a single-pixel wide skeleton
- Parameters:
image (numpy.ndarray) – binary image with 0 or 255
- Returns:
skeleton – skeleton of a binary image.
- Return type:
numpy.ndarray