]> Creatis software - clitk.git/blobdiff - scripts/create_midP-2.0.sh
First version of clitkLabelImageOverlapMeasure
[clitk.git] / scripts / create_midP-2.0.sh
index 8b530085f8cfb7052d0b43d62000a09da5f8b06a..8ea7e2c3903935ffc16c3927c5ce7a42b037916a 100755 (executable)
@@ -21,7 +21,7 @@
 
 source `dirname $0`/create_midP_masks-2.0.sh using-as-lib 2 nn
 source `dirname $0`/registration.sh
-source `dirname $0`/common.sh
+source `dirname $0`/midp_common.sh
 
 registration()
 {
@@ -184,6 +184,8 @@ ref_phase=$2
 conf=$3
 source $conf
 
+cd `dirname $mhd4d`
+
 mkdir -p $log_dir
 mask_dir="MASK-${mask_interpolation_spacing}mm-$mask_interpolation_algorithm"