Hi,

I have a question about using mris_convert to convert .asc to .mgh. I
have a .mgh file I made with mri_vol2surf (target subject as
fsaverage). I convert it to .asc using this command:

mris_convert -c 010.onerun.space.intval.lh.fsave.mgh
/home/ecooper/subjects/fsaverage/surf/lh.white lh.010mg2txt.asc

then I try to convert it from .asc to .mgh using this command:

mris_convert -c lh.010mg2txt.asc
/home/ecooper/subjects/fsaverage/surf/lh.white lh.010mg2txt2mg.mgh

but when I try to load the new .mgh (lh.010mg2txt2mg.mgh) in tksurfer
as an overlay:

tksurfer fsaverage lh inflated &

I get this error:

% Loading tal xfm file
/home/ecooper/subjects/fsaverage/surf/../mri/transforms/talairach.xfm
MRIalloc: could not allocate 443 slices
Cannot allocate memory

From the documentation of mris_convert, it seems that
lh.010mg2txt2mg.mgh should be identical to the original .mgh
(010.onerun.space.intval.lh.fsave.mgh). Is mris_convert unable to
convert .asc to .mgh? Or is there something wrong with my commands?

Thanks for your time!
Emily
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to