educelab.imgproc.properties

educelab.imgproc.properties.dynamic_range(t)

Returns the dynamic range (minimum and maximum supported value) for the provided pixel type. If an array is provided, returns the dynamic range of the array’s dtype.

Parameters:

t – Array or dtype

Returns:

min, max