medpy.filter.image.local_minima#
- medpy.filter.image.local_minima(img, min_distance=4)[source]#
Returns all local minima from an image.
- Parameters:
- imgarray_like
The image.
- min_distanceinteger
The minimal distance between the minimas in voxels. If it is less, only the lower minima is returned.
- Returns:
- indicessequence
List of all minima indices.
- valuessequence
List of all minima values.