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  

|
January 15, 2004 05:46PM
Hi Graham,

What you state makes me believe that 3dWarp works correctly. When
using the '-matvec_in2out' option, the matrix is applied to the input
dataset directly, solving "x_out = Matrix x_in + Vector" for x_out.

When using '-matvec_out2in', the _inverse_ of the matrix is applied
to the input dataset, solving "x_in = Matrix x_out + Vector" for x_out.

Those equations come from '3dWarp -help' (said for anyone else reading
this :).

Given that, when using RotTest.mat in the "in 2 out" direction, it
should be applied directly, giving the same transformation as with
3dTagalign. When using RotTest.mat in the "out 2 in" direction, the
inverse should be applied, rotating in the opposite direction.

Just to make sure, I ran the same sort of test that you did (using
3drotate, 3dvolreg, and 3dWarp), and it worked as expected.

The basic point is that the inverse matrix is applied in the out2in
case.

Does this explain what you are seeing, or am I not understanding
your message?

Thanks,

- rick

Subject Author Posted

3dWarp in2out/out2in seem backwards

Graham Wideman January 14, 2004 05:41AM

Re: 3dWarp in2out/out2in seem backwards

rick reynolds January 15, 2004 05:46PM

Re: 3dWarp in2out/out2in seem backwards

Graham Wideman January 15, 2004 06:05PM