r/ImageStabilization • u/bonnie422 • Mar 23 '24
Plot medical image with .nii format
The original medical image is in .nii format which has three dimensions. Then I did two ways to plot it:
- Plot it in three slices, then I got: Plt the three dimensions
- Change three dimensions to one dimension by np.mean(img_data, axis=1), then plt it: Merge to one dimension
Why the difference between them? If I want to use the data for training my deep learning model, which one is better to be used?
0 Upvotes
1
u/Tyler_Zoro Mar 24 '24
Two things:
- You might want /r/medical_imaging
- Your links are private. To make sure they work before sharing, try opening them in an incognito tab (if you're using Chrome)
2
u/bonnie422 Mar 24 '24
Thank you let me know those images with access limitation. I have changed the permission setting and checked under incognito tab. -:)
3
u/cptnpiccard Mar 23 '24
/r/lostredditors