[wiki:FsTutorial top] | [wiki:FsTutorial/MorphAndRecon previous]

Visually check the cortical reconstruction output with tkmedit

For each step so far, look at the output generated for the subject 'bert'. As you are performing a cortical reconstruction, it is a good idea to visually examine your data for errors or defects that may have been generated in the reconstruction steps. When using tkmedit, scroll through the volumes with the up and down arrow keys to visually inspect each slice. For a reminder of which inputs and outputs are taken by each step in the reconstruction, refer to [wiki:RecommendedReconTable this guide] First, set your subjects directory environment variable:

cd $FREESURFER_HOME/subjects/buckner_data/tutorial_subjs
setenv SUBJECTS_DIR ${PWD}

Data conversionBR Before preprocessing is done, data must be converted from native scanner format to mgz format. The output of this step is the bert/mri/orig.mgz. To open it in tkmedit:

tkmedit bert orig.mgz

Intensity normalizationBR The intensity normalization step takes the bert/mri/orig volume as input and outputs the bert/mri/T1 volume. Look at these volumes simultaneously to see the difference from the intensity normalization step. Use Ctrl-1 and Ctrl-2 to switch between the volumes.

tkmedit bert T1.mgz -aux orig.mgz

Skull stripping BR The skull stripping step takes the bert/mri/T1 volume as input, strips off the skull, and outputs the bert/mri/brain volume. Look at the T1 and brain volumes simultaneously with tkmedit. Use Ctrl-1 and Ctrl-2 to switch between the volumes.

tkmedit bert brain.mgz -aux T1.mgz

Segmentation BR The segmentation step takes the /bert/mri/brain volume as input, removes the gray matter and CSF, and outputs the /bert/mri/wm volume. Look at the brain and wm volumes simultaneously with tkmedit. Use Ctrl-1 and Ctrl-2 to switch between the volumes.

tkmedit bert wm.mgz -aux brain.mgz