Differences between revisions 1 and 23 (spanning 22 versions)
Revision 1 as of 2005-08-11 18:59:04
Size: 1052
Editor: BrianQuinn
Comment:
Revision 23 as of 2005-08-22 09:27:32
Size: 2276
Editor: JenniPacheco
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## Note: This page was created with the WorkFlowTemplate
##
## If you're modifying this page please take a look at the
## latest version of WorkFlowTemplate to ensure that you're
## using the latest version of the template
##
## Note that the use of 2 commas is not a typo.
[wiki:Self:FreeSurferWorkFlows top] | [wiki:Self:FreeSurferWorkFlows previous] | [wiki:Self:TroubleshootingReconstruction next]
Line 9: Line 3:
1. '''`source `''your_freesurfer_dir''`/SetUpFreeSurfer.csh`''' 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 should check the final surfaces and talairach transform. Any manual intervention needed to fix problems that occurred during the process are done at the end. Then the necessary steps are repeated, which can be both time-consuming and use a lot of compute power.
Line 11: Line 5:
2. '''`setenv SUBJECTS_DIR `''your_subjects_dir''''' = FreeSurfer Basic Reconstruction Work Flow =
Line 13: Line 7:
3. '''`mksubjdirs `''your_subject_name''`''' 1. Source the correct version of FreeSurfer:
    '''`source `''your_freesurfer_dir''`/SetUpFreeSurfer.csh`'''
Line 15: Line 10:
4. '''`mri_convert `''your_dicom_file'' ''your_subject_name''`/mri/orig/001.mgz`'''
   If you have multiple scans from the same session, convert additional scans like:
   '''`mri_convert `''your_other_dicom_file'' ''your_subject_name''`/mri/orig/002.mgz`'''
2. Set your SUBJECTS_DIR variable to your subjects directory:
    '''`setenv SUBJECTS_DIR `''your_subjects_dir'''''
Line 19: Line 13:
5. '''`recon-all -all -subjid `''your_subject_name''''' 3. Make a subjects directory within your SUBJECTS_DIR:
    '''`mksubjdirs `''your_subject_name'''''
Line 21: Line 16:
6. Check your surfaces and talairach transform. For examples of editing surfaces and troubleshooting, refer to: 4. Convert the DICOM files to .mgz files in the $SUBJECTS_DIR/your_subjects_name/mri/orig directory:
    '''`mri_convert `''your_dicom_file'' ''your_subject_name''`/mri/orig/001.mgz`'''

If you have multiple scans from the same session, convert additional scans like:
    '''`mri_convert `''your_other_dicom_file'' ''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:
    * ["FsTutorial/Talairach"]

For examples of editing surfaces, refer to:
Line 24: Line 42:
    * FsTutorial/Talairach
For instructions on how to fix poor normalizations or skull strips, refer to:
Line 28: Line 47:


[wiki:FreeSurferWorkFlows top] | [wiki:FreeSurferWorkFlows previous] | [wiki:TroubleshootingReconstruction 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 should check the final surfaces and talairach transform. Any manual intervention needed to fix problems that occurred during the process are done at the end. Then the necessary steps are repeated, which can be both time-consuming and use a lot of compute power.

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 to .mgz files in the $SUBJECTS_DIR/your_subjects_name/mri/orig directory:

  • mri_convert your_dicom_file your_subject_name/mri/orig/001.mgz

If you have multiple scans from the same session, convert additional scans like:

  • mri_convert your_other_dicom_file 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:

  • ["FsTutorial/Talairach"]

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)