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 14, 2004 05:41AM
Folks:

We were reluctant to believe it, but we think that in 3dWarp the -matvec_xxx flags are backwards, or the docs are backwards.

There are several helps that mention the issue, all are consistent. For example: 3dTagalign's help says:

-matvec mfile ... can be used as input to the '-matvec_out2in' option of 3dWarp

(and from the docs of the actual in2out and out2in flag I can't tell what they are supposed to do.)

To test, we created some unambiguous geometry in a test volume and a slightly rotated version of same. Then we used this script:

-----------------------------------
3dTagalign -master RotTest_Ref+orig -matvec RotTest.mat -rotscl -prefix RotTest_3ta -verb RotTest_APn10_IS20+orig

3dWarp -matvec_in2out RotTest.mat -cubic -prefix RotTest_Ruth RotTest_APn10_IS20+orig

3dWarp -matvec_out2in RotTest.mat -cubic -prefix RotTest_Doc RotTest_APn10_IS20+orig
-----------------------------------

Ie: we had 3dTagalign perform an alignment/rotation (which looked good) then had 3dWarp repeat the same rotation with the matvec file. The out2in version (that follows the docs) rotated in the wrong direction, but the in2out version rotated in the correct direction getting the same results as 3dTagalign.

Are we missing something here?

Graham

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