BIC-MNI / minc-tools

Basic minc-tools from former minc repository
Other
29 stars 25 forks source link

mnc2nii not populating fields dim_info and slice_code in the NIfTI file #117

Open cmadjar opened 2 years ago

cmadjar commented 2 years ago

The dim_info and slice_code headers do not appear to be populated in the NIfTI file resulting from mnc2nii conversion.

@zaliqarosli, could you provide details about the mnc2nii binary that was used to produce the CBGR dataset? Thanks!

zaliqarosli commented 2 years ago

The mnc2nii from the MINC toolkit version 1.9.17 was used to produce the CBIGR dataset. I have rerun 1 session from that dataset with the MINC toolkit 1.9.18 for CentOS 7.8 (http://packages.bic.mni.mcgill.ca/minc-toolkit/RPM/minc-toolkit-1.9.18-20200813-CentOS_7.8.2003-x86_64.rpm). Here's the redmine ticket for reference: https://redmine.cbrain.mcgill.ca/issues/19247

The dim_info and slice_code headers missing was reported for the nifti outputs using version 1.9.18. hope this answers your question!

vfonov commented 2 years ago

Well, there is no functionality for that in mnc2nii.