This question comes up sometimes -- and the short answer is 'yes', there is a tool that can allow you to do this. Although it will be available in the next version of FS (5.1), it is still a bit rough around the edges. It is called 'mris_pmake' and to use it to determine the distance between two points, do:
mris_pmake --subject <subject> --hemi -<hemi> --surface0 <surface> --curv0 sulc --curv1 sulc --mpmOverlay euclidean --mpmProg pathFind --mpmArgs startVertex:<startArg>,endVertex:<endArg>
So, if you have a subject called 'ID1' and want to determine the shortest distance along the surface between vertex 11111 and vertex 33333 on the left hemisphere smoothwm, do:
mris_pmake --subject ID1 --hemi lh --surface0 smoothwm --curv0 sulc --curv1 sulc --mpmOverlay euclidean --mpmProg pathFind --mpmArgs startVertex:11111,endVertex:33333
Note, that this is *not* the geodesic, but is very close. The path is constrained to run along the surface mesh, so will in general be slightly longer than the geodesic.
On 4/1/11 12:28 , caoaize wrote:
Hello FS Experts,
Suppose we have two points on the cortical surface (pial for example), we want to know the distance between these two point along cortical surface (not direct distance). Does FS report this kind of distance? Any suggestion will be very appreciated.
Aize
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer