AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 18, 2013 01:17PM
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
Subject Author Posted

Registration, deoblique --> way to remove zero-padded slices?

jdviviano March 18, 2013 01:17PM

Re: Registration, deoblique --> way to remove zero-padded slices?

Daniel Glen March 18, 2013 01:50PM

Re: Registration, deoblique --> way to remove zero-padded slices?

jdviviano March 18, 2013 07:25PM

Re: Registration, deoblique --> way to remove zero-padded slices?

Daniel Glen March 18, 2013 10:55PM

Re: Registration, deoblique --> way to remove zero-padded slices?

jdviviano March 19, 2013 10:25AM