Tiff normalizer module
- class library.image_manipulation.normalizer_manager.Normalizer
Bases:
object
Single method to normlize images
- create_normalized_image()
Normalize the downsampled images with QC applied Note, normalized images must be of type unit8. We use pillow and torchvision to create the masks and 16bit images do not work. Converting from 16bit sRGB to 8bit grayscale uses: https://pillow.readthedocs.io/en/stable/reference/Image.html#PIL.Image.Image.convert