When running ‘sct_register_to_template’, e.g.:
sct_register_to_template -i sc_fmri.nii.gz -s frmi_seg.nii.gz -l fmri_label.nii.gz -c t2s -ref subject
The following “warning” appears, about halfway through the output:
Apply transformation and resample to destination space... /home/sapgt4/sct_4.3/bin/isct_antsApplyTransforms -d 3 -i src_seg.nii -o src_seg_reg.nii -t warp_forward_0.txt -r dest_seg_RPI.nii -n NearestNeighbor # in /tmp/sct-20200722164906.795422-register-0mo9smr6 Copy affine matrix from destination space to make sure qform/sform are the same. WARNING: the resulting image could have wrong apparent results. You should use an affine transformation as last transformation...
I assume this is irrelevant, as the resultant registration looks great.
I’ve not noticed the warning before, but it is quite possible it has always appeared!
So two questions:
- Am I doing something risky that requires a warning?
- Does this ‘warning’ need to appear as part of the ‘sct_register_to_template’ output?
Thanks in advance.