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  

|
May 09, 2017 12:35AM
Many thanks ptaylor~ Nicely explained.

I've read this mechanism in the help for 3dNwarpApply, but I didn't realize that it also applies to cat_matvec.

An important question arises though: when to use -I to take the inversion?

If I align_epi_anat.py dset1 to dset2, which gives me a dset1_mat.aff12.1D,
and align_epi_anat.py dset2 to dset3, which gives me a dset2_mat.aff12.1D.
Now I want dset1 to align with dset3, shall I do
cat_matvec -ONELINE \
dset2_mat.aff12.1D \
dset1_mat.aff12.1D > combined.1D
Or
cat_matvec -ONELINE \
dset2_mat.aff12.1D -I \
dset1_mat.aff12.1D -I > combined.1D
And then
3dAllineate -input dset1+orig -1Dmatrix_apply combined.1D

In the example, why
FT_anat_ns+tlrc::WARP_DATA -I \ # 1) into TLRC from anat
FT_anat_al_junk_mat.aff12.1D -I \ # 2) into anat from one EPI
are followed with -I, but
mat.r$run.vr.aff12.1D
is not?

Thanks!
Subject Author Posted

Order of operation when catenate transforms with cat_matvec

herrlich10 May 08, 2017 09:49PM

Re: Order of operation when catenate transforms with cat_matvec

ptaylor May 08, 2017 11:27PM

Re: Order of operation when catenate transforms with cat_matvec

herrlich10 May 09, 2017 12:35AM

Re: Order of operation when catenate transforms with cat_matvec

ptaylor May 09, 2017 08:33AM

Re: Order of operation when catenate transforms with cat_matvec

herrlich10 May 09, 2017 09:58AM