def dtype_limits(image, clip_negative=None):
 if (clip_negative is None):
  clip_negative = True
  warn('The default of `clip_negative` in `skimage.util.dtype_limits` will change to `False` in version 0.15.')
 (imin, imax) = dtype_range[image.dtype.type]
 if clip_negative:
  imin = 0
 return (imin, imax)

def dtype_limits ( image , clip_negative = None ) : if ( clip_negative is None ) : clip_negative = True warn ( 'The default of `clip_negative` in `skimage.util.dtype_limits` will change to `False` in version 0.15.' ) ( imin , imax ) = dtype_range [ image . dtype . type ] if clip_negative : imin = 0 return ( imin , imax )
return intensity limits .