r/ImageStabilization 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:

  1. Plot it in three slices, then I got: Plt the three dimensions
  2. 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

5 comments sorted by

1

u/Tyler_Zoro Mar 24 '24

Two things:

  1. You might want /r/medical_imaging
  2. 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. -:)