Hi Alexander, I'm not sure what you are trying to accomplish. You want to get an Nsubject by Vvertex matrix in ascii? You can use mri_convert y.mgh y.ascii --ascii this will create a single column with all the data concatenated. The first V rows will be the Vvertices for the first subject, etc. Don't know if this gets you closer or not. doug
Alexander Lebedev wrote: > Dear Freesurfer users and developers! > > I am trying to extract vertices by the script suggested by Pedro Paulo > de M. Oliveira Jr. > > for i in `seq 1 $numsubject` > do > mri_convert --frame $i y.mgh $FSAVERAGE_DIR/surf/lh.$i.mgh > mris_convert -c $i.mgh $FSAVERAGE_DIR/surf/lh.inflated > lh.$i.asc > done > > It works fine, but I'm just wondering if there is an easy opportunity to > combine the vertices from each subject into one big N-by-V matrix (N - > subject № , V- vertex №). > > Thank you very much for your time! > -- > Regards, > Alexander Lebedev > Stavanger University Hospital, > Norway > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > > -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html _______________________________________________ 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.