[MINC-users] mnc2nii dumps core

Yoshitaka KUMAKURA kumakura at bic.mni.mcgill.ca
Wed Nov 26 08:35:04 EST 2008


Dear minc-users,

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



More information about the MINC-users mailing list