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  

|
November 12, 2021 02:40PM
Hi, Clément-

To your question about inverting the affine, please note that this step does more than just invert the affine:
# get approximate rotation part of affine file AFF, and invert it
cat_matvec   \
    -ONELINE \
    AFF -IP  \
    > AFF_IP
since both "-I" and "-P" are used:
-P = Do a polar decomposition on the 3x3 matrix part 
       of the mfile. This would result in an orthogonal
       matrix (rotation only, no scaling) Q that is closest,
       in the Frobenius distance sense, to the input matrix A.

This is then used to "unrotate" the other matrix, when applied. The idea is to remove the rigid body parts (bulk translation and rotation) from the transformation parts, leaving the shear, scale, and local warps.

--pt
Subject Author Posted

transformation to use for Jacobian 3dNwarpFuncs

Doughboys November 01, 2021 09:34AM

Re: transformation to use for Jacobian 3dNwarpFuncs

Daniel Glen November 01, 2021 03:17PM

Re: transformation to use for Jacobian 3dNwarpFuncs

Doughboys November 02, 2021 11:44AM

Re: transformation to use for Jacobian 3dNwarpFuncs

ptaylor November 12, 2021 09:46AM

Re: transformation to use for Jacobian 3dNwarpFuncs

Doughboys November 12, 2021 01:31PM

Re: transformation to use for Jacobian 3dNwarpFuncs

ptaylor November 12, 2021 02:40PM

Re: transformation to use for Jacobian 3dNwarpFuncs

Daniel Glen November 12, 2021 04:26PM