dataeval.utils.preprocessing.get_bitdepth

dataeval.utils.preprocessing.get_bitdepth(image)

Approximates the bit depth of the image using the min and max pixel values.

Parameters:
image : NDArray

Input image array

Returns:

Bit depth information

Return type:

BitDepth