FreesurferGoodies/AutomaticLabeling - MRC CBU Imaging Wiki

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Type the odd characters out in each group: abz2a 125t7 HhHaHh year.s 5433r21 worl3d

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"

## variables

## Freesurfer directory


## Processing:

lastsubj=`expr $nsubjects - 1`

for m in `seq 0 ${lastsubj}`
        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