Nii saving (bit range)

Operating system: Linux
Slicer version: 4.8
Expected behavior: smallest bit resolution in nii file
Actual behavior: signed int32

My data are in the range of -2000…7000.
How can I modify it?

You can use the Cast Scalar Volume module to change the data to a smaller bit resolution. It will not auto detect the smallest, you will need to pick what resolution you want to cast it to.

1 Like


I will use unsigned short.