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 24, 2021 02:02PM
That all sounds good. I've recently been moving markers around too, and I'm happy to send that script if you would like. There is 3dNwarpXYZ for coordinates that you could apply to tag coordinates. Provide an xyz.1D file with 3 columns of coordinates in RAI order (Right-to-left, Anterior-to-posterior, Inferior-to-superior).

3dNwarpXYZ -nwarp "$WARP" -iwarp ${src_name}_xyz.1D > ${src_name}_to_${target_name}_xyz.1D

As part of my script, I also put spheres at the source and target locations because I find that's useful for visualization, but the crosshair markers are fine too. Some examples of the spheres are here:
https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/tutorials/rois_corr_vis/suma_spheres.html#description

3dTagalign requires the order match exactly. Labels are a convenience. The method works by finding a least squares solution. This information is excerpted from the source, thd_shear3d.c, DLSQ_affine() function:

Compute an affine transformation to take one set of vectors into another.
That is, find general matrix R and vector V so that

yy = [R] xx + V (k=0..n-1)
k k

is true in the unweighted least squares sense.



Edited 1 time(s). Last edit at 12/11/2021 05:01PM by Daniel Glen.
Subject Author Posted

Nonlinear coregistration with tagsets

Simone Cauzzo November 23, 2021 03:29AM

Re: Nonlinear coregistration with tagsets

Daniel Glen November 23, 2021 11:02AM

Re: Nonlinear coregistration with tagsets

Simone Cauzzo November 23, 2021 11:31AM

Re: Nonlinear coregistration with tagsets

Daniel Glen November 23, 2021 12:40PM

Re: Nonlinear coregistration with tagsets

Simone Cauzzo November 24, 2021 11:03AM

Re: Nonlinear coregistration with tagsets

Daniel Glen November 24, 2021 02:02PM

Re: Nonlinear coregistration with tagsets

Simone Cauzzo November 24, 2021 03:47PM

Re: Nonlinear coregistration with tagsets

Simone Cauzzo November 25, 2021 03:49AM

Re: Nonlinear coregistration with tagsets

Daniel Glen December 07, 2021 07:57PM

Re: Nonlinear coregistration with tagsets

Simone Cauzzo December 08, 2021 04:28AM