Hi again AFNI team,
A common issue with our dataset is having 3dWarpDrive not converge in the @auto_tlrc command which causes very warped volreg. For these subjects, we have to manually re-run them in a new script adding “-xform shift_rotate_scale” to the @auto_tlrc command. However, on the @auto_tlrc help page, it says this is supposed to be done automatically. We are using an up-to-date AFNI version (22.3.06), and can’t think of any other reason why this wouldn’t be happening for us. Here is the terminal output from that portion of the script as well:
"@auto_tlrc -base MNI_avg152T1+tlrc -input AP1009B_anat_ns+orig -no_ss
*********** Warning *************
Dataset centers are 52.583877 mm
apart. If registration fails, or if
parts of the original anatomy gets
cropped, try adding option
-init_xform AUTO_CENTER
to your @auto_tlrc command.
Padding …
++ 3dZeropad: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ output dataset: ./__ats_tmp__ref_MNI_avg152T1_15pad+tlrc.BRIK
Resampling …
++ 3dcalc: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ Authored by: A cast of thousands
++ 3dcalc: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ Authored by: A cast of thousands
Clipping -0.000100 1004.000100 …
++ 3dcalc: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ Authored by: A cast of thousands
++ 3drefit: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ Authored by: RW Cox
++ Processing AFNI dataset __ats_tmp___rs_AP1009B_anat_ns+tlrc.HEAD
- changing dataset view code
- Changed dataset view type and filenames.
++ 3drefit processed 1 datasets
++ 3drefit: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ Authored by: RW Cox
++ Processing AFNI dataset __ats_tmp__resamp_NN+tlrc.HEAD - changing dataset view code
- Changed dataset view type and filenames.
++ 3drefit processed 1 datasets
++ 3drefit: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ Authored by: RW Cox
++ Processing AFNI dataset __ats_tmp__resamp_edge_art+tlrc.HEAD - changing dataset view code
- Changed dataset view type and filenames.
++ 3drefit processed 1 datasets
Registration (cubic final interpolation) …
++ 3dWarpDrive: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ Authored by: RW Cox
++ Initial scale factor set to 0.30/138.00=4.6e+02
RMS[0] = 0.41776 0.3268 ITER = 50/50
0.41776
Warping used up maximum iterations of 50
Convergence might not have
been reached.
Doubling number of iterations
++ 3drename: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ THD_rename_dataset_files: rename __ats_tmp__reg_warpdriveout+orig.HEAD → __ats_tmp__reg_warpdriveout_maxed_iters+orig.HEAD
++ THD_rename_dataset_files: rename __ats_tmp__reg_warpdriveout+orig.BRIK.gz → __ats_tmp__reg_warpdriveout_maxed_iters+orig.BRIK.gz
++ 3dWarpDrive: AFNI version=AFNI_22.3.06 (Nov 15 2022) [64-bit]
++ Authored by: RW Cox
++ Initial scale factor set to 0.30/138.00=4.6e+02
RMS[0] = 0.41776 0.3268 ITER = 100/100
0.41776
Warping used up maximum iterations
even after doubling number of iterations to 100.
Convergence might not have been reached.
If you find the alignment poor, try
rerunning the script with a transform
type of fewer parameters (-xform) or by using
an even higher number of iterations (-maxite).
You can also choose to continue with the
current result (dset: __ats_tmp__reg_warpdriveout+orig
by using the option: -OK_maxite
Accepting result per user’s choice."
Thank you for your help!
Sincerely,
Ian