grains.analysis.thicken_skeleton¶
-
grains.analysis.
thicken_skeleton
(skeleton, thickness)[source]¶ Thickens a skeleton by morphological dilation.
- Parameters
skeleton (ndarray) – Skeleton of a binary image, represented as a bool 2D numpy array.
thickness (int) – Thickness of the resulting boundaries.
- Returns
ndarray – A 2D bool numpy array, where True represents the thickened skeleton.
See also