neuropub > RE: Is there any tutorial for making the nii file
Feb 22, 2013  07:02 AM | Lars Forsberg
RE: Is there any tutorial for making the nii file
At what stage is it failing and which procedure are you using? Are you uploading it by using another app (e.g. Dropbox or Mail) or are you uploading it through iTunes on your computer?

My guess is that your nii file does not fulfil the requirements. The requirements are:

1. Images you upload must have the same resolution as the 2x2x2 mm^3 MNI template that comes with SPM and FSL. This means the dimension has to be 91x109x91 voxels.
2. The images need to be in 32-bit float format.
3. The transformation matrix (sform-matrix) has to be the same as the MNI template.
4. It has to be a 3D file. 4D files are not supported.

The file can either be a .nii file or a .nii.gz. The latest version (v1.1) supports compressed files.

Only images satisfying these demands will be listed in the image list, otherwise they will be deleted to save space.

You can easily check if your image fulfils these demands with the fslhd program if you are using FSL. This program will list the header information in your nii file. The interesting parts that must be the same are:

data_type FLOAT32
dim0 3
dim1 91
dim2 109
dim3 91

sto_xyz:1 -2.000000 0.000000 0.000000 90.000000
sto_xyz:2 0.000000 2.000000 0.000000 -126.000000
sto_xyz:3 0.000000 0.000000 2.000000 -72.000000
sto_xyz:4 0.000000 0.000000 0.000000 1.000000

I hope this helps.

Threaded View

lichih ho Feb 22, 2013
RE: Is there any tutorial for making the nii file
Lars Forsberg Feb 22, 2013
lichih ho Feb 22, 2013
Lars Forsberg Feb 25, 2013