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  

|
May 18, 2023 07:04AM
Hi, Jenna-

I am not aware of a tool to do this. The hardest part is picking a single point from each ROI (which is an extended volume, potentially of wildly weird shape) from which to calculate distance? I imagine center of mass or some kind of central point would be used, but consider how different distance might be interpreted, whether it was between two spheres or two octopuses with tenacles extended toward each other---what is the distance in the latter?

Once you do have a single point defined for each ROI A and B, the geometric distance would be the square root of the sum of squares across the components:
dist(A, B) = sqrt{ (A_i - B_i)^2 + (A_j - B_j)^2 + (A_k - B_k)^2 }

Note that with diffusion data 3dTrackID does have distance-measuring output, using the estimated bundle lengths (BL). You can control what it means to be a tract "between" ROIs, which exhibits some of the points noted above:
https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/FATCAT/Tracking.html#using-target-surfaces-to-control-tract-trimming

--pt
Subject Author Posted

Distance between two sets of MNI coordinates

jblujus May 17, 2023 02:40PM

Re: Distance between two sets of MNI coordinates

ptaylor May 18, 2023 07:04AM

Re: Distance between two sets of MNI coordinates

Daniel Glen May 18, 2023 10:31AM