scipy.ndimage.measurements.mean

scipy.ndimage.measurements.mean(input, labels=None, index=None)

Calculate the mean of the values of an array at labels.

Labels must be None or an array that can be broadcast to the input.

Index must be None, a single label or sequence of labels. If None, the mean for all values where label is greater than 0 is calculated.

Previous topic

scipy.ndimage.measurements.maximum_position

Next topic

scipy.ndimage.measurements.minimum

This Page