[MINC-users] mnc2nii dumps core

Claude LEPAGE claude at bic.mni.mcgill.ca
Fri Nov 28 13:38:07 EST 2008


Hi Yoshi,

I was able to reproduce the error with the latest version of mnc2nii. 
The program reports the following description:

<nifti_image
  nifti_type = 'NIFTI-1+'
  header_filename = 'DRPLA_FDG_Feb1308_Q129ms1.nii'
  image_filename = 'DRPLA_FDG_Feb1308_Q129ms1.nii'
  image_offset = '0'
  ndim = '4'
  nx = '256'
  ny = '256'
  nz = '512'
  nt = '379'
  dx = '0.047'
  dy = '0.047'
  dz = '0.047'
  dt = '0'
  datatype = '16'
  datatype_name = 'FLOAT32'
  nvox = '-167772160'

so negative number of voxels (on 64-bit compiled code). This error is
different with 32-bit compiled code. This looks like a straightforward
bug. I'll try to look at it soon.

Another strange observation is nt=379 on 64 bits but 1 on 32 bits. 

I'll keep you posted.

Claude


More information about the MINC-users mailing list