Hi Ray

this should do the trick:

mri_convert -nth 10 all_frames.mgz frame10.mgz

or


mri_convert all_frames.mgz#10 frame10.mgz


note that the second syntax should be accepted by most of our tools

cheers
Bruce


On Thu, 22 Jan 2015, Ray Razlighi wrote:

Dear FreeSurfer Experts,
I have a .mgh file which contains thickness data for 200 subjects in fsaverage 
space, so
it has 200 frames. When I convert this file to ascii format it only converts 
the first
frame. So I either need to split the .mgh file to single frame files and then 
convert to
ascii or I need the command that converts all the frames into a ascii file/s. 
Is there
any utility in FreeSurfer package that does either of them? 

Thanks a lot for your help. 

--
Sincerely,
Ray

_______________________________________________
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