This app runs AFNI's 3dSkullStrip function on a T1w NIfTI file.
- Input: MRI scan of a brain with skull
- Output: MRI scan of a brain with less skull (hopefully)
- Jamie Hanson
brainlife.io is publicly funded and for the sustainability of the project it is helpful to Acknowledge the use of the platform. We kindly ask that you acknowledge the funding below in your publications and code reusing this code.
We kindly ask that you cite the following articles when publishing papers and code using this code.
- Avesani, P., McPherson, B., Hayashi, S. et al. The open diffusion data derivatives, brain data upcycling via integrated publishing of derivatives and reproducible open cloud services. Sci Data 6, 69 (2019). https://doi.org/10.1038/s41597-019-0073-y
You can submit this App online at https://doi.org/10.25663/bl.app.1 via the "Execute" tab.
- git clone this repo.
- Inside the cloned directory, create
config.json
with something like the following content with paths to your input files.
{
"t1": "/testdata/t1/t1.nii.gz",
"optional_params": null
}
- Launch the App by executing
main
./main
If you don't have your own input file, you can download sample datasets from Brainlife.io, or you can use Brainlife CLI.
npm install -g brainlife
bl login
mkdir input
bl dataset download 5a0e604116e499548135de87 && mv 5a0e604116e499548135de87 input/track
bl dataset download 5a0dcb1216e499548135dd27 && mv 5a0dcb1216e499548135dd27 input/dtiinit
coming soon
coming soon
This App only requires singularity to run. If you don't have singularity, you will need to install following dependencies.
- Matlab: https://www.mathworks.com/products/matlab.html
- jsonlab: https://www.mathworks.com/matlabcentral/fileexchange/33381-jsonlab-a-toolbox-to-encode-decode-json-files
- VISTASOFT: https://github.com/vistalab/vistasoft/
- ENCODE: https://github.com/brain-life/encode
- MBA: https://github.com/francopestilli/mba