[MINC-users] mnc2nii dumps core

Yoshitaka KUMAKURA kumakura at bic.mni.mcgill.ca
Thu Nov 27 03:37:40 EST 2008


Dear Claude,

Thank you for your reply.

mnc2nii -version returns:

program: 1.4
libminc: 1.4
netcdf : 3.6.1 of Mar  5 2007 07:16:16 $

I tried to install minc 1.51, but no success. Is minc 1.4 too old? I am
ready to send you the minc file with a normal file from the same
scanner.

Best regards,
Yoshi Kumakura


On Wed, 26 Nov 2008, Claude LEPAGE wrote:

> Hi,
>
> For starters, what version are you using? Please post the result of this command:
>
>  mnc2nii -version
>
> If you have an old version, I will recommend to use the latest version. If
> that does not work, I can investigate the problem if you can give me access
> to the mnc file. Usually mnc2nii works.
>
> Yours,
>
> Claude
>
> > I have encountered a mnc file that can't be converted to nii. The clue
> > seems to be nvox = '0', where I usually get '33554432'. How can I get this
> > done properly?
> >
> > yoshi at ubuntu-vm:~$ mnc2nii  -nii DRPLA_FDG_Feb1308_Q129ms1.mnc
> > <nifti_image
> >   nifti_type = 'NIFTI-1+'
> >   header_filename = 'DRPLA_FDG_Feb1308_Q129ms1.nii'
> >   image_filename = 'DRPLA_FDG_Feb1308_Q129ms1.nii'
> >   image_offset = '0'
> >   ndim = '3'
> >   nx = '256'
> >   ny = '256'
> >   nz = '512'
> >   dx = '0.047'
> >   dy = '0.047'
> >   dz = '0.047'
> >   datatype = '16'
> >   datatype_name = 'FLOAT32'
> >   nvox = '0'
> >   nbyper = '4'
> >   byteorder = 'LSB_FIRST'
> >   scl_slope = '1'
> >   scl_inter = '0'
> >   xyz_units = '2'
> >   xyz_units_name = 'mm'
> >   time_units = '8'
> >   time_units_name = 's'
> >   descrip = 'mnc2nii DRPLA_FDG_Feb1308_Q129ms1.mnc'
> >   sform_code = '1'
> >   sform_code_name = 'Scanner Anat'
> >   sto_xyz_matrix = '0.047 0 0 -6.016 0 0.047 0 -6.016 0 0 0.047 -12.032 0
> > 0 0 1'
> >   sto_ijk matrix = '21.2766 0 0 128 0 21.2766 0 128 0 0 21.2766 256 0 0 0
> > 1'
> >   sform_i_orientation = 'Left-to-Right'
> >   sform_j_orientation = 'Posterior-to-Anterior'
> >   sform_k_orientation = 'Inferior-to-Superior'
> > />
> > MINC type 5 signed 1
> > Segmentation fault (core dumped)
> >
> >
> > Best regards,
> > Yoshi
> >
> > _______________________________________________
> > MINC-users at bic.mni.mcgill.ca
> > http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> >
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list