Those commands won't work, try something like this instead mris_apply_reg --src "$s"/xhemi/surf/xhemi.lh-rh.w-g.pct.mgh --trg "$s"/surf/rh.lh-rh.w-g.pct.mgh \ --streg $SUBJECTS_DIR/fsaverage_sym/surf/lh.sphere.reg $SUBJECTS_DIR/$s/surf/lh.fsaverage_sym.sphere.reg
That may not be exactly the right command, but I can't tell you exactly because I don't know how xhemi.lh-rh.w-g.pct.mgh was created. If it is on the left hemi of fsaverage_sym, then it should be ok On 08/12/2015 05:18 AM, Adler, Sophie wrote: > Hi All > > We have been using mris_surf2surf to register both left and right .mgh > files to lh fsaverage_sym in order to compare surface files that are > not automatically registered to xhemi/surf. We are having some trouble > registering the rh files back to native space. This is what I have > been trying: > > 1) mri_surf2surf --srcsubject fsaverage_sym --srcsurfval > "$s"/xhemi/surf/xhemi.lh-rh.w-g.pct.mgh --trgsubject "$s" > --trgsurfval "$s"/surf/rh.lh-rh.w-g.pct.mgh --hemi lh --srcsurfreg > sphere.reg --trgsurfreg sphere.reg > > The output surface file values all equal 0. > > 2) mri_surf2surf --srcsubject fsaverage_sym --srcsurfval > "$s"/xhemi/surf/xhemi.lh-rh.w-g.pct.mgh --trgsubject "$s" > --trgsurfval "$s"/surf/rh.lh-rh.w-g.pct.mgh --hemi rh --srcsurfreg > sphere.reg --trgsurfreg sphere.reg > > The output surface file is flipped - medial wall surface values on > lateral wall and visa versa. > > Is there a way to register the files back from ā$sā/xhemi/surf to > ā$sā/surf? > > Thanks, > Sophie > > > > > > > > > _______________________________________________ > 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: https://gate.nmr.mgh.harvard.edu/filedrop2 www.nmr.mgh.harvard.edu/facility/filedrop/index.html Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/ _______________________________________________ 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.