slicewise_edt#
- slicewise_edt(image)[source]#
Compute the Euclidean distance transform map of each slice individually and stacks them into a single 3D array.
- Return type:
ndarray- Parameters:
image – An np.ndarray containing the binary image with the phase of interest labeled as 1
- Returns:
Euclidean distance transform map of each slice
- Return type:
numpy.ndarray