delta.utilities.skeleton_poles

delta.utilities.skeleton_poles(skel: ndarray[Any, dtype[uint8]]) ndarray[Any, dtype[bool]]

This function was adapted from stackoverflow #https://stackoverflow.com/questions/26537313/how-can-i-find-endpoints-of-binary-skeleton-image-in-opencv

It uses a kernel to filter out the poles

Parameters
skel2D numpy array of bool

Contains skeletons of single cells from the segmentation.

Returns
out2D numpy array of bool

Contains True at the poles of the skeletons from the input.