skimage2.util.dtype_limits#
- skimage2.util.dtype_limits(image, clip_negative=False)[source]#
Return intensity limits, i.e. (min, max) tuple, of the imageâs dtype.
- Parameters:
- imagendarray
Input image.
- clip_negativebool, optional
If True, clip the negative range (i.e. return 0 for min intensity) even if the image dtype allows negative values.
- Returns:
- imin, imaxtuple
Lower and upper intensity limits.