norm_01

imagepypelines.norm_01(img)[source]

Normalize img to the range [0, 1], inclusive.

Parameters:img (np.ndarray) – image to normalize, can be any dtype.
Returns:normalized image, dtype=np.float64
Return type:np.ndarray