Skip to content
Snippets Groups Projects
Commit 75ba4102 authored by Stamatios Sotiropoulos's avatar Stamatios Sotiropoulos
Browse files

Fix invwarp bug

parent ad5ffc30
No related branches found
No related tags found
No related merge requests found
......@@ -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"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment