/
Pre-processing

Attention: Confluence is not suitable for the storage of highly confidential data. Please ensure that any data classified as Highly Protected is stored using a more secure platform.
If you have any questions, please refer to the University's data classification guide or contact ict.askcyber@sydney.edu.au

Pre-processing

FreeSurfer performs the whole cortical reconstruction process and generates it their unique FreeSurfer file format using the command recon-all. Outlined below are instructions on how to pre-process structural T1 data using recon-all automatically (which could encounter problems with segmentations and cortical tracing), and manually (which allows you to check and correct any errors).

AFTER conducting recon-all:

  1. If you are interested in running longitudinal analysis, you will also need to pre-process the data using the longitudinal pre-processing pipeline.

  2. If you are interested in running analysis segmenting hippocampal subfields or amygdala, you should run further processing and analysis as outlined here.


Running whole pre-processing pipeline automatically

You can automatically run the whole process (without manual editing/manual checks):

  1. with a niftii file

recon-all -i FTD####.nii -subjid subject_1 -all
  1. with a folder of DICOM files

recon-all -i /scratch/project/FTD#### -subjid subject_1 -all

Pre-processing with manual corrections

Ideally, you should run pre-processing with manual edits so you can check and correct any errors. If you do not wish to do this, you can run the whole pre-processing pipeline automatically (see next section below).

  1. Run recon-all
    This step simply creates an FTD### folder in your T1 folder and fills it with the files Freesurfer needs. Subsequent scripts will be run ONLY on this new folder, so you can delete the one in T1_Raw if you want at this point.

recon-all -i FTD####.nii -subjid subject_1

 

2. Run autorecon1

 

3. Run Tal Check. Open a terminal that allows GUI programs and run:

This will open up the below tool box (and brain image). Use the buttons highlighted in green to move between views of the brain. Use the buttons highlighted in blue to switch between the actual brain and an averaged 'typical' brain. Confirm that the two brains match in terms of the angle of their tilt.

Figure A. Tal Check. Use the buttons highlighted in green and blue to check numerous points throughout the brain across the axes – comparing points on the actual (target) and mean (moveable) brain to identify any variation on the tilt. You do not need to check every slice.

 

4. If there is no variation between the actual and mean brain close the Tal Check window and run autorecon2.sh

Once this is finished, the scan is ready for manual edits. 

If there is variation, the scan has failed the tal check. Consult with your supervisor. It is likely that this scan will not be used for processing.

 

5. Conduct manual editing and surface checks. Instruction on manual editing and surface checks on old FreeSurfer versions (v6.0 and below) can be found here. Official instructions on manual editing using new FreeSurfer versions (v7.0 and above) can be found here, and here.

 

6. Run QCACHE.sh. This is quite quick (about 20mins). 

 

 

Related content

Analysis
More like this
DWI & tractography preprocessing output check
DWI & tractography preprocessing output check
More like this
Artemis job submission examples
Artemis job submission examples
More like this
General Neuroimaging Process
General Neuroimaging Process
Read with this
FreeSurfer
More like this
Downloading files from XNAT
Downloading files from XNAT
Read with this