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  

|
August 27, 2017 07:14AM
pjkohler Wrote:
-------------------------------------------------------
> I need to compute the pairwise distance between
> every combination of nodes on a Freesurfer
> surface. I would like to be able to get both the
> Euclidean distance and the distance along the
> mesh. I can get the Euclidean distance by loading
> the surface into Matlab and using the coordinates,
> but how can I get the distance along the mesh? I
> wrote a little wrapper for SurfDist that can
> probably do it, but that seems a bit slow for a
> problem of this scale.
>
> Any suggestions? I would be happy to use an
> external Matlab toolbox, if that is the easiest.

The fast marching toolbox by Gabriel Peyre can do this, see [github.com]
In particular the perform_fast_marching_mesh function can be used for geodesic distances along the surface.

You may also be interested in the surfing toolbox (https://github.com/nno/surfing - I am the main author). It contains the fast marching toolbox code and also some helper functions to read and write surfaces (surfing_read and surfing_write).
Subject Author Posted

Pairwise distance between nodes on a surface

pjkohler August 24, 2017 08:48PM

Re: Pairwise distance between nodes on a surface

nick August 27, 2017 07:14AM

Re: Pairwise distance between nodes on a surface

pjkohler September 11, 2017 07:43PM

Re: Pairwise distance between nodes on a surface

nick September 12, 2017 01:12PM

Re: Pairwise distance between nodes on a surface

pjkohler September 12, 2017 03:37PM

Re: Pairwise distance between nodes on a surface

pjkohler September 12, 2017 04:24PM

Re: Pairwise distance between nodes on a surface

nick September 15, 2017 01:40AM

Re: Pairwise distance between nodes on a surface

pjkohler September 15, 2017 03:03PM

Re: Pairwise distance between nodes on a surface

nick September 19, 2017 11:42AM

Re: Pairwise distance between nodes on a surface

Daniel Glen September 19, 2017 12:15PM

Re: Pairwise distance between nodes on a surface

pjkohler September 21, 2017 01:51PM

Re: Pairwise distance between nodes on a surface

nick September 22, 2017 12:55PM