### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Multi-dimensional image processing (`scipy.ndimage`) »

# scipy.ndimage.measurements.extrema

`scipy.ndimage.measurements.``extrema`(input, labels=None, index=None)
  Calculate the minimum, the maximum and their positions of the
    values of the array.

  The index parameter is a single label number or a sequence of label numbers of the objects to be measured. If index is None, all values are used where labels is larger than zero.

### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Multi-dimensional image processing (`scipy.ndimage`) »