I have a .tif file from a CT scan which I want to visualize as an image. And later use for training a Convolutional Neural Network.
I would like to preserve as much as possible the original format.
import numpy as np import tifffile as tiff a = tiff.imread(local_path+'demd122000_MLO_Left.tif')
a.shape
Out[16]: (227, 227, 3)
np.max(a)
Out[6]: 3590
a.dtype
Out[19]: dtype('uint16')
Which library can show this kind of images?
How could I normalize it without losing information?