Install the requirements:
CPU or NVIDIA GPU + CUDA CuDNN
Clone this repo:
git clone -b master --single-branch https://github.com/moralesq/DeepStrain.git
cd DeepStrain
For pip users:
bash ./scripts/install_pip.sh
bash ./datasets/download_sample_dataset.sh
bash ./pretrained_models/download_model.sh
bash ./scripts/test_segmentation.sh ./datasets/sample_nifti_3D NIFTI ./results/sample_nifti_3D
The test results will be saved to a nifti file here: ./results/sample_nifti_3D/
.
bash ./scripts/test_segmentation.sh ./datasets/sample_nifti_4D NIFTI ./results/sample_nifti_3D
The test results will be saved to a nifti file here: ./results/sample_nifti_4D/
.
bash ./scripts/test_motion.sh ./datasets/sample_nifti_4D NIFTI ./results/sample_nifti_4D
The test results will be saved to a h5 file here: ./results/sample_nifti_4D/
.
bash ./scripts/test_segmentation_motion.sh ./datasets/sample_nifti_4D NIFTI ./results/sample_nifti_4D
The test results will be saved to nifti and h5 files here: ./results/sample_nifti_4D/
.
bash ./scripts/test_strain.sh ./results/sample_nifti_4D
The test results (4D radial and circumferential strain) will be saved to nifti files here: ./results/sample_nifti_4D/
.