Probably easier to use mris_apply_reg, something like

mris_apply_reg --src lh.w-g.pct.mgh --trg xhemi.lh.w-g.pct.mgh \
   --streg $SUBJECTS_DIR/$subject/surf/lh.fsaverage_sym.sphere.reg \
              $SUBJECTS_DIR/fsaverage_sym/surf/lh.sphere.reg

mris_apply_reg --src rh.w-g.pct.mgh --trg xhemi.rh.w-g.pct.mgh \
   --streg $SUBJECTS_DIR/$subject/xhemi/surf/lh.fsaverage_sym.sphere.reg \
              $SUBJECTS_DIR/fsaverage_sym/surf/lh.sphere.reg

In the 2nd command line (for rh), lh.fsaverage_sym.sphere.reg is used. 
This is intentional; the left hemis in the xhemi folder are actually 
right hemis.

doug


On 2/11/15 4:12 PM, Bruce Fischl wrote:
> Hi Konrad
>
> you should be able to do this with mri_surf2surf, although the syntax
> might be tricky.
>
> cheers
> Bruce
> On Mon, 9 Feb 2015, Konrad Wagstyl wrote:
>
>> Hi all,
>>
>> We're having some trouble using interhemispheric registration. It works fine 
>> for files that are automatically registered eg thickness, volume etc. but 
>> not for mgh files, like ?h.w-g.pct.mgh.
>> Is there a way of adding files to xhemi/surf/ so that other surfaces files 
>> can be compared between hemispheres?
>>
>> Thanks,
>> Konrad
>> _______________________________________________
>> 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
>
>

_______________________________________________
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