Skip to content

Commit

Permalink
Adds in-plane isotropic padding of SVR-output.nii.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaroberts committed Nov 12, 2021
1 parent c8117be commit ecaf0aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/docker-recon-brain-auto.bash
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,9 @@ if [[ -f ${test_file} ]];then
# TAR - rename files
mv ${main_dir}/${roi_recon[${selected_recon_roi}]}-output.nii.gz ${main_dir}/${roi_recon[${selected_recon_roi}]}-output-withoutReorientation.nii.gz
cp ${main_dir}/reo-${roi_recon[${selected_recon_roi}]}-output.nii.gz ${main_dir}/${roi_recon[${selected_recon_roi}]}-output.nii.gz

# TAR - pad in-plane so square FOV
${mirtk_path}/mirtk resample-to-iso-grid ${main_dir}/${roi_recon[${selected_recon_roi}]}-output.nii.gz ${main_dir}/${roi_recon[${selected_recon_roi}]}-output.nii.gz 2

# TAR - move final files to /recon dir
cp ${main_dir}/${roi_recon[${selected_recon_roi}]}-output-withoutReorientation.nii.gz ${default_recon_dir}/${roi_recon[${selected_recon_roi}]}-output-withoutReorientation.nii.gz
Expand Down

0 comments on commit ecaf0aa

Please sign in to comment.