BrainChop is a lightweight tool for brain segmentation that runs on pretty much everything.
You can install BrainChop using pip:
pip install brainchop
To use BrainChop, run the following command:
brainchop input.nii.gz -o output.nii.gz
Where:
input.nii.gz
is your input NIfTI fileoutput.nii.gz
is the desired output file name
- Python 3.6+
- tinygrad : our tiny and portable (but powerful) ML inference engine
- numpy : basic tensor operations
- nibabel : to read nifti files
- requests : to download models
This project is licensed under the MIT License.