FreeSurfer performs the whole cortical reconstruction process and generates it their unique FreeSurfer file format using the command recon-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).
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.
Code Block |
---|
recon-all -i FTD####.nii -subjid subject_1 |
2. Run autorecon1
Code Block |
---|
recon-all -i FTD####.nii -subjid subject_1 -autorecon1 |
3. Run Tal Check. Open a terminal that allows GUI programs and run:
Code Block |
---|
tkregister2 --mgz --s FTD### --fstal |
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
Code Block |
---|
recon-all -i FTD####.nii -subjid subject_1 -autorecon2 |
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.
...
Running whole pre-processing pipeline automatically
...
Code Block |
---|
recon-all -i /scratch/project/FTD#### -subjid subject_1 -all |
...
...
Longitudinal pre-processing pipeline
...