This is a basic pipeline to preprocess T1-weighted (T1w) Structural MRIs for visualization and further processing. This tool is designed for command-line use.
The preprocessing pipeline includes four primary steps:
- Reorientation - Aligning the MRI images to a standard orientation.
- Skull Stripping - Removing non-brain tissues from the MRI images.
- Bias Correction - Correcting intensity non-uniformities in the MRI images.
- Registration - Aligning an atlas to the patient space for standardized anatomical referencing.
- Written primarily in Python.
- Utilizes the Nipype library for workflow management.
- Employs tools such as FSL and ANTs for processing tasks.
- Compatible with the Brain Imaging Data Structure (BIDS) Standard.
At minimum:
- Parent Data Directory: The directory containing the MRI data.
- Subject ID: Identifier for the subject/patient.
- Output Directory: Directory where the processed outputs will be saved.
- Preprocessed Patient T1 MRI: The MRI after all preprocessing steps.
- Atlas in Patient Space: An atlas registered to the patient’s anatomical space.
To use this tool, run the command:
python3 t1_preproc.py -p [data_dir_path] -sid [subject-id] -o [output_path]
This tool is a work in progress. It is currently fully functional but is undergoing refinement to enhance user flexibility and input handling.
If you have any concerns or suggestions regarding the code or its implementation, please contact the authors at [email protected].