You can just use mri_concat file1.mgh file2.mgh ... fileN.mgh --o stack.mgh
On 08/25/2018 05:03 PM, Alon Baram wrote: > > External Email - Use Caution > > Hello, > > I have a surface measure calculated for each of my subjects, which I > have already resampled and smoothed on fsaverage using mri_surf2surf, > i.e for each subject I run: > mri_surf2surf --hemi <hemisphere> --s fsaverage --sval > <surfMeasureSubjX> --fwhm <FWHM> --cortex --tval <output> > I now want to stack the outputs of the commands above, so that I can > give the stacked image as an input to PALM. I think I should use > mris_preproc for that, but I'm not sure if the subjects (the argument > after the --s flags) should be the original subjects or fsaverage - > given that my surface measures are already resampled to fsaverage. > > That is, I'm not sure if the correct command is (for 2 subjects) > > mris_preproc --out <outfile> --target fsaverage --hemi <hemisphere> > *--s subj1 --s subj2* --is <surfaceMeasureFileSubj1> --is > <surfaceMeasureFileSubj2> > > *or * > > mris_preproc --out <outfile> --target fsaverage --hemi <hemisphere> > *--s fsaverage --s fsaverage* --is <surfaceMeasureFileSubj1> --is > <surfaceMeasureFileSubj2> > > Thanks! > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer _______________________________________________ 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.