#! /bin/tcsh -ef # # fix_subject-rh # # # # Copyright © 2021 The General Hospital Corporation (Boston, MA) "MGH" # # Terms and conditions for use, reproduction, distribution and contribution # are found in the 'FreeSurfer Software License Agreement' contained # in the file 'LICENSE' found in the FreeSurfer distribution, and here: # # https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSoftwareLicense # # Reporting: freesurfer@nmr.mgh.harvard.edu # # cd $SUBJECTS_DIR/$1/scripts #mri_tessellate ../mri/filled 127 ../surf/rh.orig #mris_smooth ../surf/rh.orig ../surf/rh.smoothwm #mris_inflate -dist 0 ../surf/rh.smoothwm ../surf/rh.inflated #mris_sphere -w 0 -q ../surf/rh.inflated ../surf/rh.qsphere mris_sphere -w 0 -inflate -in 200 -q ../surf/rh.inflated ../surf/rh.qsphere mris_fix_topology $1 rh mris_smooth ../surf/rh.orig ../surf/rh.smoothwm mris_inflate ../surf/rh.smoothwm ../surf/rh.inflated