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 -- Rudolph Pienaar, M.Eng, D.Eng / email: rudo...@nmr.mgh.harvard.edu MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging 149 (2301) 13th Street, Charlestown, MA 02129 USA _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.