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