ImageFile.Stoner__Image__imagefuncs__dtype_limits¶
- ImageFile.Stoner__Image__imagefuncs__dtype_limits(clip_negative=True)¶
Return intensity limits, i.e. (min, max) tuple, of the image’s dtype.
- Parameters:
image (ndarray) – Input image.
clip_negative (bool) – If True, clip the negative range (i.e. return 0 for min intensity) even if the image dtype allows negative values.
- Returns:
(imin, imax – tuple): Lower and upper intensity limits.