grains.analysis.label_image_skeleton¶
-
grains.analysis.
label_image_skeleton
(label_image)[source]¶ Skeleton of a labeled image.
The skeleton of a labeled image is a single-pixel wide network that separates the labeled regions.
- Parameters
label_image (ndarray) – Labeled input image, represented as a 2D numpy array of positive integers.
- Returns
ndarray – A 2D bool numpy array having the same size as
label_image
, where True represents the skeleton pixels.
See also