edt#

edt(image)[source]#

Compute the 3D Euclidean distance transform map of the entire image.

Return type:

ndarray

Parameters:

image – An np.ndarray containing the binary image with the phase of interest labeled as 1

Returns:

3D Euclidean distance transform map of the entire image

Return type:

numpy.ndarray