External Email - Use Caution
Ah, that makes sense. Short of calculating a Euclidean distance between every surface RAS and my point I'd like on the surface, then grabbing the one with the shortest distance, is there a function/utility in FreeSurfer that will generate the closest vertex for me?
________________________________ From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu on behalf of Ehsan Tadayon ehsan.tadayon84@gmail.com Sent: Tuesday, September 4, 2018 2:05:05 PM To: Freesurfer support list Subject: Re: [Freesurfer] [External] Re: SurfaceRAS to Vertex coordinate system
External Email - Use Caution
There is no linear transformation between the two. Vertex coordinate is equal to surfaceRAS when the point that you have selected is actually one of the vertices on the chosen surface. However, if the point is not on the surface, it finds the nearest vertex. So, you can read your surface ( in matlab : [vertices, faces] = read_surf('lh.pial') ) and then find the vertex that is closest to your selected point (surfaceRAS). This is the vertex that you see in the Freeview.
Ehsan.
________________________________ Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521 and is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy all copies of the original message and attachments thereto. Email sent to or from UI Health Care may be retained as required by law or regulation. Thank you. ________________________________