This app will This app will denoise sum of squares reconstructed (SOS) dMRI data using tensorflow and pretrained model of SENSE reconstructed data. This uses a CNN to identify the increased noise from the SOS reconstruction by comparing the sequence to a SENSE reconstructed sequence from the same participant.
- Brad Caron ([email protected])
- Sophia Vinci-Booher ([email protected])
- Hu Cheng ([email protected])
- Soichi Hayashi ([email protected])
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/https://doi.org/10.25663/brainlife.app.247 via the 'Execute' tab.
-
git clone this repo
-
Inside the cloned directory, create
config.jsonwith something like the following content with paths to your input files.
{
"dwi": "/input/dwi/dwi.nii.gz",
"bvals": "/input/dwi/dwi.bvals",
"bvecs": "/input/dwi/dwi.bvecs",
"mask": "/input/brainmask/mask.nii.gz",
"iters": 20000,
"batch_size": 40000,
"trainingSubj": "full_encode/subj1"
}You can download sample datasets from Brainlife using Brainlife CLI.
npm install -g brainlife
bl login
mkdir input
bl dataset download
- Launch the App by executing 'main'
./mainThe main output of this App is a dwi datatype that has been denoised of the additional SOS-related noise.
The secondary output of this app is product.json. This file allows web interfaces, DB and API calls on the results of the processing.
This App only requires singularity to run. If you don't have singularity, you will need to install following dependencies.
- tensorflow: https://www.tensorflow.org/
- python3: https://www.python.org/
- numpy: https://numpy.org/
- nibabel: https://nipy.org/nibabel/