External Email - Use Caution
Hello,
I've been using a software to process SWI data that includes an option to save the output as nifti files. When I attempt to use either the mri_info or mri_convert commands on these nifti files I receive the following error message:
niiRead(): unknown space units 7 in /pfc/common_area/high_pass_1750_1910.nii
Where "high_pass_1750_1910.nii" is the name of my nifti file. This leads me to believe there is a problem in how my SWI processing software saves nifti files which makes them incompatible with FreeSurfer. I am curious if it is a problem with some aspect of the nifti header information that is causing me to receive this error and if so, which aspect?
Using the fsl program fslhd I have gotten the header info for one of these nifti files and pasted it below:
filename high_pass_1750_1910.nii
sizeof_hdr 348data_type INT16dim0 4dim1 232dim2 256dim3 176dim4 1dim5 0dim6 0dim7 0vox_units Unknowntime_units rad/sdatatype 4nbyper 2bitpix 16pixdim0 0.000000pixdim1 1.000000pixdim2 1.000000pixdim3 1.000000pixdim4 0.000000pixdim5 -nanpixdim6 6445431373862396660923732403945472.000000pixdim7 6445014188069157487771091399081984.000000vox_offset 352cal_max 3253932511416847943508928692748288.0000cal_min 0.0000scl_slope 0.000000scl_inter 6444907725225778945067450074398720.000000phase_dim 0freq_dim 0slice_dim 0slice_name Unknownslice_code -99slice_start 30622slice_end -1814slice_duration 0.000000time_offset 0.000000intent Unknownintent_code 73´õtent_name ëh`0intent_p1 0.000000intent_p2 6444907725225778945067450074398720.000000intent_p3 68507965883187986432.000000qform_name Unknownqform_code 0qto_xyz:1 1.000000 0.000000 0.000000 0.000000qto_xyz:2 0.000000 1.000000 0.000000 0.000000qto_xyz:3 0.000000 0.000000 1.000000 0.000000qto_xyz:4 0.000000 0.000000 0.000000 1.000000qform_xorient Left-to-Rightqform_yorient Posterior-to-Anteriorqform_zorient Inferior-to-Superiorsform_name Unknownsform_code 0sto_xyz:1 0.000000 0.000000 0.000000 0.000000sto_xyz:2 0.000000 0.000000 0.000000 0.000000sto_xyz:3 0.000000 0.000000 0.000000 0.000000sto_xyz:4 0.000000 0.000000 0.000000 0.000000sform_xorient Unknownsform_yorient Unknownsform_zorient Unknownfile_type NIFTI-1+file_code 1descripaux_file ¤ôI am hoping someone can help me understand why I am receiving this error from mri_info.
Thank you,John
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer