I don't see how this can work. Looking at the matlab code for MRIread.m, it appears to read mgh files as volume data (which makes sense to me). How can you get a list of values on a per-vertex basis from that?
This is part of my larger confusion about surface formats... I've seen many places where it seems to be recommended to save surface overlay information in mgh format, but I don't understand how this works, because as far as I can tell mgh is a volume format...
On May 7, 2007, at 11:22 AM, Doug Greve wrote:
We don't have a way to produce ascii output for surface normals, but you can do it by creating them in mgh format with mri_surf2surf, then reading that file into matlab with MRIread, then creating the ascii yourself.
doug
burak ozkalayci wrote:
Hi all,
I want to get an ascii file listing the normal vectors of each vertex of the surface (white or pial). In http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/ msg02210.html mri_surf2surf is adviced to used but I could not find any example usage for creating vertex normals. And I appreciate any help on converting the output of the mri_surf2surf to ascii file.
One more question about the vertex normals. using tksurfer to see the surfaces, the normals of the selected vertices are printed on the console. to use mri_surf2surf the sphere.reg files are needed and they are created at the 3rd step of reconall. If there is any straightway to get those vertex normals from the surface definition like tksurfer do, I prefer it since I do not want to wait for the reconall 3.
Thanks in advance.
Burak _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
-- Douglas N. Greve, Ph.D. MGH-NMR Center greve@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422
In order to help us help you, please follow the steps in: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
-- -dave---------------------------------------------------------------- After all, it is not *that* inexpressible. -H.H. The Dalai Lama