From 75ba41026fdca25085cc3125ecd66ec72aa7f2a6 Mon Sep 17 00:00:00 2001 From: Stamatios Sotiropoulos <stam@fmrib.ox.ac.uk> Date: Wed, 5 Jun 2013 17:11:16 +0000 Subject: [PATCH] Fix invwarp bug --- fdt.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdt.tcl b/fdt.tcl index 29400c4..6a752db 100644 --- a/fdt.tcl +++ b/fdt.tcl @@ -1038,7 +1038,7 @@ proc fdt:apply { w dialog } { fdt_monitor $w "${FSLDIR}/bin/convert_xfm -omat $stand2diff -inverse $diff2stand" if { $registration(nonlin_yn) } { fdt_monitor $w "${FSLDIR}/bin/fnirt --in=$registration(nonlin_image) --aff=$str2stand --cout=$str2stand_warp --config=T1_2_MNI152_2mm" - fdt_monitor $w "${FSLDIR}/bin/invwarp -w $str2stand_warp -o $standard2str_warp -r $registration(struct_image)" + fdt_monitor $w "${FSLDIR}/bin/invwarp -w $str2stand_warp -o $stand2str_warp -r $registration(struct_image)" fdt_monitor $w "${FSLDIR}/bin/convertwarp -o $diff2stand_warp -r ${FSLDIR}/data/standard/MNI152_T1_2mm -m $diff2str -w $str2stand_warp" fdt_monitor $w "${FSLDIR}/bin/convertwarp -o $stand2diff_warp -r ${diff}_mask -w $stand2str_warp --postmat=$str2diff" } -- GitLab