-
Notifications
You must be signed in to change notification settings - Fork 7
Render brain labels and annotation
We can display labels and annotation created by FreeSurfer on a brain surface. Remember to set your environment variable 'SUBJECTS_DIR' correctly first. Then, you may consult the following examples.
First, you display the brain surface.
etc_render_fsbrain;
This shows the inflated left hemisphere (of subject 'fsaverage').
By clicking 'L' in the figure, you will be guided to select an annotation file. After selecting the 'lh.aparc.annot', a window with a list box showing all labels defined in the annotation file will show.
You can click each entry in the annotation list box. The brain area corresponding to the selected entry will be displayed in color, which was defined by the color table in the annotation file. Here is the example after selecting the label 'bankssts' (the superior temporal sulcus).
Click the same label (bankssts) again will remove the color in the brain. So you can turn on and off the color of an area by clicking the label repetitively.
We can show not only areas defined by an annotation file, but also areas defined by (user-defined) label file. Again, click "L" in the brain figure will bring up a window to guide you to select a file. By default, you will be guided to select an annotation file (wiht '.annot' as the file name postfix). You need to change that to '.label' to allow you selecting a label file. Afterward, this example selected the "lh.paracalcarine.label" file. Now the calcarine sulcus is highlighted after you click that entry in the list box.
You may repeat the process of loading a label file. So the labels in the list box will grow.
Regardless areas were defined by an annotation file or label files, you can delete unwanted entries by click 'backspace' or 'delete' key after selecting that entry in the list box.