The PETPipeline
pipeline is a state-of-the-art PET preprocessing pipeline (wrapper) for MATLAB. This pipeline is designed to execute multiple preprocessing steps on BIDS structured datasets that have at least one dynamic PET scan and one anatomical MRI scan. The key steps integrated within the pipeline include:
- Motion correction
- Co-registration
- Segmentation
- Partial volume correction
- Kinetic modeling
To utilize the PETPipeline
function in your MATLAB environment:
PETPrep(data_dir, config)
- data_dir (str): This is the path directing to the BIDS data directory.
- config (str): This is the path directing to the PETPrep configuration file. This config should be placed in a 'code' directory in the main BIDS directory. Example: 'config1.json'.
Note: The function doesn't return any values.
- Transition to the BIDS data directory.
- Integrate BIDS data into MATLAB.
- Incorporate the configuration file.
- Initiate derivatives directories.
- Activate
ReconAll
for FreeSurfer reconstruction. - Perform GTM segmentation with
GTMSeg
. - Convert FreeSurfer output to BIDS structure with
ConvertFS2BIDS
. - Perform motion correction (various methods available).
- Co-register with
CoReg
and plot results withPlotCoReg
. - Perform GTM PVC with
GTMPVC
. - Convert PETsurfer output to BIDS structure with
PETsurfer2TAC
. - Perform kinetic modeling (various models available).
Martin Norgaard, Stanford University, 2022.
[License details, if any]
[Optional section for any acknowledgements or citations]