Skip to content

USC-IGC/Corpus-Callosum-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corpus-Callosum-Tool:

Segmentation, quality control and abnormality classification of the midsagittal corpus callosum

This automated pipeline can be used for accurate Corpus Callosum (CC) segmentation across multiple MRI datasets and extract a variety of features to describe the shape of the CC. We also include an automatic quality control function to detect poor segmentations using Machine Learning.

For the latest version of the tool, please use:

https://github.com/USC-LoBeS/smacc.git

How to use the tool:

  • Clone the github directory using: git clone https://github.com/USC-IGC/Corpus-Callosum-Tool.git
  • Create three different virtual environments using the packages mentioned in "packages" folder.
  • In run_CC.sh file:
    • Once the virtual environments are installed, add the python paths for segmentation, metrics extraction and auto QC in line 34, 40 and 51 respectively.
    • Input: Apply bias field correction (eg: ANTs N4) on T1's.
    • Put all the bias field corrected T1's in one folder and put the path for the same on line 5.
    • Create a text file with all the subject id's of the T1's to be processed and put the path to the text file on line 8.
    • Add the model directory on line 11.
    • Set the output path folder where all the results would be generated.
  • All the steps can be run on CPU.
  • The final output will be "metrics_qc.csv" in the output folder which will have all the metrics and a column "QC label" indicating whether the segmentations were accurate(0)/fail(1).

If you use this code, please cite the following paper:

S. P. Gadewar et al., "A Comprehensive Corpus Callosum Segmentation Tool for Detecting Callosal Abnormalities and Genetic Associations from Multi Contrast MRIs," 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Sydney, Australia, 2023, pp. 1-4, doi: 10.1109/EMBC40787.2023.10340442.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published