Skip to content

Commit

Permalink
Use cropped data for DWI processing
Browse files Browse the repository at this point in the history
Addresses #46
  • Loading branch information
jcohenadad committed Jul 4, 2024
1 parent e3cc60a commit 84ba26f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions batch_processing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ for file_dwi in "${files_dwi[@]}"; do
file_dwi_seg="${FILESEG}"
# Crop data for faster processing
sct_crop_image -i "${file_dwi}".nii.gz -m "${file_dwi_seg}".nii.gz -dilate 15x15x0 -o "${file_dwi}"_crop.nii.gz
file_dwi=${file_dwi}_crop
# Motion correction
sct_dmri_moco -i ${file_dwi}.nii.gz -bvec ${file_bvec} -x spline
file_dwi=${file_dwi}_moco
Expand Down

0 comments on commit 84ba26f

Please sign in to comment.