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?
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.