I am trying to open and visualize images of different ct slices in a npz formatted file to proceed my NN segmentation task later on. I used the following code:
data = np.load('case0005_slice060.npz')
image = data['image']
img = Image.fromarray(image,'RGB')
and finally, I could visualize the image, but it seems there is a problem somewhere that I can't understand. here is the output (the problem is that I may need to solve overlapped images but I don't know how)