FreesurferGoodies/AutomaticLabeling - MRC CBU Imaging Wiki

Revision 1 as of 2012-03-07 16:14:05

Clear message
location: FreesurferGoodies / AutomaticLabeling

# # this is an example of an automatic labeling script for the left hemisphere, for the PPG that we have drawn on the study average cortical surface called "myAverage"

thePath='/imaging/yourusername/yourproject/subjects'

subjects=( 'CBUXXXXXX' \ 'CBUYYYYYY' \ )

nsubjects=${#subjects[*]} lastsubj=expr $nsubjects - 1

for m in seq 0 ${lastsubj} do

  • echo "=======================================================" echo " " echo " Computing hPPG cortex surface label left hemisphere" echo " " echo "======================================================="

mri_label2label \

  • --srcsubject myAverage \ --srclabel ${thePath}/myAverage/label/lh.hPPG.label \ --trgsubject ${subjects[m]} \ --trglabel ${thePath}/${subjects[m]}/label/lh.hPPG.label \ --hemi lh \ --regmethod surface

done # subjects lh