minkowski_functionals#

minkowski_functionals(image, pad=True)[source]#

Compute the 2D or 3D Minkowski functionals from a Numpy array.

Return type:

Tuple

Parameters:
  • image – The binary image where the phase of interest is 1. Datatype should be ‘uint8’

  • pad – If true, pad the image with phase zero. Default = True

Returns:

For 2D images, returns a tuple of area, perimeter, and Euler characteristic. For 3D images, returns a tuple of volume, surface area, integral mean curvature, and Euler characeteristic.

Return type:

Tuple, float