Hello,

I am a Freesurfer newbie trying to use the mri_convert command to convert
IMA format files to either nii or nifti1 format files.
Whenever I run the command I get an error at the very
end saying that it failed to write (please see below for the exact
output error that was displayed).
Any help would be greatly appreciated.
Thank you in advance.


Best,
Lisa Akiyama


% mri_convert -i $SUBJ_DIR/393-2-4.ima -ot nii -o 393-2-4.nii

mri_convert -i /Volumes/Elements/adult_brain/k_h/slices/393-2-4.ima -ot nii
> -o 393-2-4.nii

$Id: mri_convert.c,v 1.166.2.2 2010/08/10 19:11:50 greve Exp $

reading from /Volumes/Elements/adult_brain/k_h/slices/393-2-4.ima...

rows = 256

cols = 256

TR=11.40, TE=4.40, TI=300.00, flip angle=15.00

i_ras = (-0, -1, -0)

j_ras = (-0, 0, -1)

k_ras = (-1, 0, 0)

writing to 393-2-4.nii...

niiWrite(): error opening file 393-2-4.nii

ERROR: failure writing 393-2-4.nii as volume type 24



% mri_convert -i $SUBJ_DIR/393-2-4.ima -ot nifti1 -o 393-2-4

mri_convert -i /Volumes/Elements/adult_brain/k_h/slices/393-2-4.ima -ot
> nifti1 -o 393-2-4

$Id: mri_convert.c,v 1.166.2.2 2010/08/10 19:11:50 greve Exp $

reading from /Volumes/Elements/adult_brain/k_h/slices/393-2-4.ima...

rows = 256

cols = 256

TR=11.40, TE=4.40, TI=300.00, flip angle=15.00

i_ras = (-0, -1, -0)

j_ras = (-0, 0, -1)

k_ras = (-1, 0, 0)

writing to 393-2-4...

nifti1Write(): error opening file 393-2-4.hdr

ERROR: failure writing 393-2-4 as volume type 20
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to