[Freesurfer] Reading surface files
Hi, I intend to write a program (in C/C++) using the result of the surface flattening procedure of FreeSurfer but I don't know the structure of the files used in Freesurfer, especially the original brain surface files and the sphere files. Is there a way that I can read the information in those surface files from a C/C++ program to analyze it? I couldn't find it anywhere in the documentation. Thanks a lot. Best, ntt --- Bruce Fischl <[EMAIL PROTECTED]> wrote: > sure, the vertex indices are invariant, so you just > lookup the vertex > position on each surface > > On Wed, 6 Jul 2005, Ngo Trung Thanh wrote: > > > Hi, > > > > After mapping the brain surface onto a sphere, we > have > > the surface files. Is there anyway that we can > know > > the correspondence (or the transformation) between > the > > points on the original surface and those on the > > sphere? > > Thanks a lot. > > > > Best, ntt > > > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > ___ > > Freesurfer mailing list > > Freesurfer@nmr.mgh.harvard.edu > > > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > > > > > > --- Bruce Fischl <[EMAIL PROTECTED]> wrote: > sure, the vertex indices are invariant, so you just > lookup the vertex > position on each surface > > On Wed, 6 Jul 2005, Ngo Trung Thanh wrote: > > > Hi, > > > > After mapping the brain surface onto a sphere, we > have > > the surface files. Is there anyway that we can > know > > the correspondence (or the transformation) between > the > > points on the original surface and those on the > > sphere? > > Thanks a lot. > > > > Best, ntt > > > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > ___ > > Freesurfer mailing list > > Freesurfer@nmr.mgh.harvard.edu > > > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > > > > > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Re: [Freesurfer] Reading surface files
you can use mris_convert to convert to ascii. Check out Graham Wideman's website for the details on the formats. Bruce On Sun, 10 Jul 2005, Ngo Trung Thanh wrote: Hi, I intend to write a program (in C/C++) using the result of the surface flattening procedure of FreeSurfer but I don't know the structure of the files used in Freesurfer, especially the original brain surface files and the sphere files. Is there a way that I can read the information in those surface files from a C/C++ program to analyze it? I couldn't find it anywhere in the documentation. Thanks a lot. Best, ntt --- Bruce Fischl <[EMAIL PROTECTED]> wrote: sure, the vertex indices are invariant, so you just lookup the vertex position on each surface On Wed, 6 Jul 2005, Ngo Trung Thanh wrote: Hi, After mapping the brain surface onto a sphere, we have the surface files. Is there anyway that we can know the correspondence (or the transformation) between the points on the original surface and those on the sphere? Thanks a lot. Best, ntt __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer --- Bruce Fischl <[EMAIL PROTECTED]> wrote: sure, the vertex indices are invariant, so you just lookup the vertex position on each surface On Wed, 6 Jul 2005, Ngo Trung Thanh wrote: Hi, After mapping the brain surface onto a sphere, we have the surface files. Is there anyway that we can know the correspondence (or the transformation) between the points on the original surface and those on the sphere? Thanks a lot. Best, ntt __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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