Skip to content

Commit

Permalink
Merge pull request #94 from sct-pipeline/crop
Browse files Browse the repository at this point in the history
Increase the dilation used for cropping
  • Loading branch information
PaulBautin authored Jan 7, 2021
2 parents cc77cb1 + ad90b20 commit d73bced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ for r_coef in ${R_COEFS[@]}; do

# dilate labelled segmentation (for cropping)
file_label_dil=${file_label_r_t}_dil
sct_maths -i ${file_label_r_t}.nii.gz -dilate 15 -shape cube -o ${file_label_dil}.nii.gz
sct_maths -i ${file_label_r_t}.nii.gz -dilate 45 -shape cube -o ${file_label_dil}.nii.gz
# crop image
sct_crop_image -i ${file_r_t}.nii.gz -m ${file_label_dil}.nii.gz
# remove the non-cropped transformed image
Expand Down

0 comments on commit d73bced

Please sign in to comment.