Hello team AFNI,
So, I've been using your software with (generally) great success aligning very thin slices of EPI up to T1 space. Normally these slices are oblique and are therefore deobliqued, then motion corrected within sessions, then registered up to T1 space.
These are high resolution files. In order to prevent absolutely massive (and therefore useless) outputs, I'm forced to use something like this...
3dWarp -matvec_out2in SESS1/mat_EPI_to_T1_1.aff12.1D -prefix anat_EPI_regTarget.nii.gz -cubic -zpad 0 SESS1/func_tmp_resize.nii.gz
to create a high-resolution EPI in a T1-registered slab. This is normally fine, but sometimes the slab needs to move quite far from its starting point and gets written (mostly) outside of the slab. I know I can zeropad with 3dWarp, but then we run into having a massive brick of zeros that destroys all bandwidth.
So, is there a way to intelligently trim the zeros, or to prevent the software from shifting the image outside of the actual brick?
Thanks in advance, Joseph