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  

|
bob cox
November 11, 2009 05:47PM
The matrix is the "real" definition of the transformation. The angles and shifts are just used to generate the matrix. 3dAllineate does the search for parameters in angle+shift coordinates, and at each set of angle+shift parameters, generates the matrix to use for the coordinate transformation being evaluated.

One problem with going between angle+shift parameters and the matrix is that the matrix depends on the order in which the rotations and shifts are applied. The order of rotations is fixed in the program as R = Y X Z where Z is rotation about the I-S axis, X is rotation about the R-L axis, and Y is rotation about the A-P axis. The order of shift is not fixed. By default it is 'after' the rotation, so that the final matrix is T = S Y X Z (each matrix is a 4x4 transformation, with the last row being [0 0 0 1], of course). However, the inverse of such a matrix is Tinv = Zinv Xinv Yinv Sinv which isn't in the same order. That is, computing the inverse parameters from the inverse matrix isn't trivial.

At this point, I'm finished with random lecture mode, and hoping this helped. I'm not sure what more to say since I'm not sure what the specific question is.
Subject Author Posted

3dAllineate parameters

Chad November 11, 2009 05:17PM

Re: 3dAllineate parameters

bob cox November 11, 2009 05:47PM

Re: 3dAllineate parameters

Chad November 11, 2009 06:26PM

Re: 3dAllineate parameters

Judd November 12, 2009 03:02PM

Re: 3dAllineate parameters

Chad November 12, 2009 03:54PM