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