[MINC-users] NIfTI to MINC revisited

Simon Eskildsen eskild at gmail.com
Tue Aug 14 10:50:28 EDT 2012


Hi Vlad,

On Tue, Aug 14, 2012 at 3:04 PM, Vladimir S. FONOV
<vladimir.fonov at gmail.com> wrote:
> can you try itk_convert from minc-toolkit to perform conversion? (
> /ipl/quarantine/experimental/mt/bin/itk_convert , source
> /ipl/quarantine/experimental/mt/minc-toolkit-config.sh first)

That seemed to work. The qform is preserved, though the code changes
from 1 to 2...?

$ diff a.hdr r.hdr
1c1
< filename       anonymous.nii
---
> filename       recovered.nii
14c14
< time_units     s
---
> time_units     Unknown
46,48c46,48
< qform_name     Scanner Anat
< qform_code     1
< qto_xyz:1      -0.015369  0.078765  0.996775  -95.418961
---
> qform_name     Aligned Anat
> qform_code     2
> qto_xyz:1      -0.015370  0.078765  0.996775  -95.418961
59c59
< sto_xyz:3      0.000228  0.996893  -0.078771  -58.668182
---
> sto_xyz:3      0.000228  0.996893  -0.078770  -58.668182
66c66
< descrip        3T 3D GR\IR TR=2420ms/TE=3.7ms/FA=9deg 31-Mar-2011 16:25:15.378
---
> descrip


Thanks,
Simon


More information about the MINC-users mailing list