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  

|
October 29, 2021 05:35PM
Hi, Clément-

To be clear---I think "-volreg_tlrc_warp" takes no additional arguments, it is just a switch or flag.

When using @animal_warper or @SSwarper, you likely have the full warp in 2 pieces (an affine part in a *.aff12.1D file, and a nonlinear part, in a *_WARP* volumetric dset).

The afni_proc.py option "-tlrc_NL_warped_dsets" does require using 3 arguments after it: an anatomical datset, the affine *.aff12.1D file, and the warp *_WARP* dset. I don't see a way to *not* provide all three.
+ If there is an *.aff12.1D file, I think you would always want to include it to have the correct warp (it would need to be concatenated internally with the nonlinear warp).
+ If you calculated a warp differently, and you *don't* have a linear affine part to concatenate---that is, the WARP dataset is the *full* and *complete* warp, then perhaps you could fake an affine transformation that would be reasonable. Namely, make a file, say identity.aff12.1D, containing an "identity" affine transform:
1 0 0 0 0 1 0 0 0 0 1 0
... and provide that as an argument where the affine should go.

How does that work?

--pt
Subject Author Posted

afni_proc.py volreg_tlrc_warp

Doughboys October 29, 2021 02:20PM

Re: afni_proc.py volreg_tlrc_warp

ptaylor October 29, 2021 05:35PM

Re: afni_proc.py volreg_tlrc_warp

Doughboys October 29, 2021 06:28PM