Differences between revisions 28 and 29
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[wiki:Self:FreeSurferWorkFlows top] | [wiki:Self:FreeSurferWorkFlows previous] | [wiki:Self:RecommendedReconstruction next] [[FreeSurferWorkFlows|top]] | [[FreeSurferWorkFlows|previous]] | [[RecommendedReconstruction|next]]
Line 37: Line 37:
    * ["FsTutorial/Talairach"]     * [[FsTutorial/Talairach]]

top | previous | next

This workflow completes the entire reconstruction process without stopping. See the BasicReconTable for a list of all the steps run by this command. After the process finishes the user must check the final surfaces and talairach transform. Any manual intervention needed to fix problems that occurred during the process is done at the end, after which the necessary steps will have to be repeated. This can be both time-consuming and use a lot of computer power. Therefore, this workflow is recommended only for excellent data sets which have no anticipated problems (e.g. data acquired where the subject was perfectly aligned in the scanner, the subject has normal brain anatomy, there were no image artifacts or excessive movements during the scan, etc.).

FreeSurfer Basic Reconstruction Work Flow

1. Source the correct version of FreeSurfer:

  • source your_freesurfer_dir/SetUpFreeSurfer.csh

2. Set your SUBJECTS_DIR variable to your subjects directory:

  • setenv SUBJECTS_DIR your_subjects_dir

3. Make a subjects directory within your SUBJECTS_DIR:

  • mksubjdirs your_subject_name

4. Convert the DICOM files for each scan to .mgz files in the $SUBJECTS_DIR/your_subjects_name/mri/orig directory:

  • mri_convert first_file_of_1stDICOM-FILE-SET your_subject_name/mri/orig/001.mgz

If you have multiple scans from the same session, convert additional files like this example for a second set:

  • mri_convert first_file_of_2ndDICOM-FILE-SET your_subject_name/mri/orig/002.mgz

5. Start the recon-all script:

  • recon-all -autorecon-all -subjid your_subject_name

6. Check your surfaces and talairach transform.

  • 6.1 Make sure the talairach subject is linked to $SUBJECTS_DIR

    • if not: ln -s $FREESURFER_HOME/subjects/talairach $SUBJECTS_DIR/.

    6.2 tkregister2 --mgz --s your_subject_name --fstal 6.3 Check the white and pial surfaces:

    • tkmedit your_subject_name wm.mgz rh.white -aux brain.mgz tkmedit your_subject_name wm.mgz lh.white -aux brain.mgz

For intructions on how to fix bad talairachs tranforms, refer to:

For examples of editing surfaces, refer to:

For instructions on how to fix poor normalizations or skull strips, refer to:

BasicReconstruction (last edited 2008-04-29 11:45:31 by localhost)