Differences between revisions 1 and 2
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
Open a subject using {{{tksurfer-sess}}}: Open a subject using {{{tksurfer}}} or {{{tksurfer-sess}}}:
Line 26: Line 26:
The above command loads fsaverage.

'''Threshold'''<<BR>>
Line 28: Line 31:
Click anywhere inside an active region that you want to save as an ROI. Click on the Custom Fill button on the Tksurfer Tools Window. Chose "Up to functional values below threshold". Fill from "Last clicked vertex". And your Action is "Create new label". Now click the Fill button. You should see the region you chose turn white and then back to its orignal color except now it will be outlined in yellow. On the Tools window, go to File > Label > Save Selected Label. A box will open which wants to save the ROI in the subject's label directory. '''Create label'''<<BR>>
Click anywhere inside an active region that you want to save as an ROI. Click on the Custom Fill button on the Tksurfer Tools Window. Chose "Up to functional values below threshold". Fill from "Last clicked vertex". And your Action is "Create new label". Now click the Fill button. You should see the region you chose turn white and then back to its original color except now it will be outlined in yellow. If you changed your mind and no longer want the region you selected, go to '''Edit > Deselect Label'''.

'''Save label'''<<BR>>
On the Tools window, go to '''File > Label > Save Selected Label'''. A box will open with a path to save the ROI in the subject's label directory by default. Save it with the file extension .label (e.g. V1.label). Click OK.

'''View the label'''<<BR>>
You can view just the label by opening it from the commandline (You

From Functional Activation on Surface

If you are looking at functional activation on the surface and would like to save some active region as an ROI, you can currently do so in tksurfer.

As an example, we will show you how to do this on the FSFAST tutorial data but feel free to use your own. To use the tutorial data, you must do:

setenv SUBJECTS_DIR $TUTORIAL_DATA/fsfast-tutorial.subjects
cd $TUTORIAL_DATA/fsfast-functional

If you are not at an organized course, $TUTORIAL_DATA should be set to the path where you downloaded all the tutorial data.

Open a subject using tksurfer or tksurfer-sess:

tksurfer-sess -s sess01 \
  -analysis workmem.sm05.lh \
  -c encode-v-base \
  -c emot.dist-v-base \
  -c probe.avg-v-base \
  -c emot.dist-v-neut.dist

The above command loads fsaverage.

Threshold
If you want to play with the threshold, you can do View > Configure > Overlay or use the shortcut and left-click on the Show Overlay button on the Tksurfer Tools Window. Make sure to hit the spacebar after you change the Min or Max value in order to see the results.

Create label
Click anywhere inside an active region that you want to save as an ROI. Click on the Custom Fill button on the Tksurfer Tools Window. Chose "Up to functional values below threshold". Fill from "Last clicked vertex". And your Action is "Create new label". Now click the Fill button. You should see the region you chose turn white and then back to its original color except now it will be outlined in yellow. If you changed your mind and no longer want the region you selected, go to Edit > Deselect Label.

Save label
On the Tools window, go to File > Label > Save Selected Label. A box will open with a path to save the ROI in the subject's label directory by default. Save it with the file extension .label (e.g. V1.label). Click OK.

View the label
You can view just the label by opening it from the commandline (You

CreatingROIs (last edited 2013-08-29 14:58:26 by AllisonStevens)