def METHOD_NAME(image_32bit):
    min_32bit = np.min(image_32bit)
    max_32bit = np.max(image_32bit)
    image_8bit = np.array(
        np.rint(255 * ((image_32bit - min_32bit) / (max_32bit - min_32bit))), dtype=np.uint8
    )
    return image_8bit