Hi Brian,
I read in a surface file and it spit out 3 coordinates, do you know if they are RAS and also there is no vertex number with them, so does the vertex number start at zero and count up then?

they are RAS coords.
surface vertices go from 0-> nverts
matrix(in matlab) will go from 1-> nverts+1


One more quick question. Do I have to read in the hemisphere's separately or is there a surface file that has both of them together (either the orig surface or the smoothwm surface)?

each hemisphere separately


Thanks so much for you help!
Sarah

thank you,
brian


Brian T. Quinn wrote:
hi Sarah-

you can you the matlab code in $FREESURFER/matlab to do this. use read_surf.m for this.

--
brian

On Fri, 15 Jul 2005, Sarah Rugheimer wrote:

Hello,

Does anybody know if there is a file with or a way to obtain a mapping of the vertex number with say the RAS coordinate system. I know when you are in the tksurfer window by using the mouse/cursor you can see each vertex number with the corresponding RAS coordinate, but is there a way to output all the vertex numbers with the cooresponding RAS coordinates to a file or matrix or some such thing.

Thank you very much for any help.

Sarah Rugheimer
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer










_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to