crispy.pruning.pruning#
Utilities for skeleton processing, branch property initialization, and pruning in 2D and 3D structures.
Functions
Identify body points in a skeletonized structure. |
|
Identify branch points in a skeletonized structure. |
|
Classify the components of a skeleton into labeled branches, intersections, and endpoints. |
|
Identify endpoints in a skeletonized structure. |
|
Initialize branch properties for 2D or 3D skeletons. |
|
Compute lengths and intensities for branches in 3D skeletons. |
|
Compute the main lengths of 3D skeletons and generate longest path arrays. |
|
Convert 3D skeletons into graph representations with weighted edges. |
|
Remove unphysical branches from a labeled 3D skeleton in PPV space. |
|
Calculate the length of a skeleton segment. |
|
Traverse a 3D skeleton segment to obtain an ordered list of pixel coordinates. |