]> Creatis software - clitk.git/blobdiff - scripts/create_midP_masks-2.0.sh
Added patient mask resampling
[clitk.git] / scripts / create_midP_masks-2.0.sh
index 9f64694d8bcf96117de8e1ba0dd8d339a7b85877..7c84294d65f87cb234d4df68e8db77db46ace034 100755 (executable)
@@ -52,6 +52,7 @@ resample()
 {
   echo "$phase_file -> Resampling..."
   clitkResampleImage -i $mask_dir_tmp/patient_$phase_nb.mhd -o $mask_dir_tmp/patient_$phase_nb.mhd --spacing $resample_spacing --interp $resample_algo
+  clitkResampleImage -i $mask_dir_tmp/patient_mask_$phase_nb.mhd -o $mask_dir_tmp/patient_mask_$phase_nb.mhd --spacing $resample_spacing --interp $resample_algo
   clitkResampleImage -i $mask_dir_tmp/lungs_$phase_nb.mhd -o $mask_dir_tmp/lungs_$phase_nb.mhd --like $mask_dir_tmp/patient_$phase_nb.mhd
 }