Shouldn't the faces be integer numbers? There are no integers at the end of the output file. Is it possible to generate ASCII file without faces?
I need brain surface only, so I assume that 'lh.pial' and 'rh.pial' are OK for that purpose.
Cheers, Denny Milakara
Bruce Fischl wrote:
Hi Denny,
the faces are in the 2nd half of the file. If you scroll (way) down you'll find them. The columns are the x,y,z coords in what we call surface RAS, which is documented on our wiki.
cheers, Bruce
p.s. what surfaces you need are need is dependent on what you want to do (e.g. inflated, white, etc...)
On Wed, 30 Dec 2009, Denny Milakara wrote:
Thank you for your answer Bruce,
Nobody expects here default solutions for exotic needs. So let me be more specific:
I used 'mris_convert' to convert 'lh.pial' in ASCII format. The output file containes 3 colummns of real numbers with 3xwhitespace between them.
- Are 'lh.pial' and 'rh.pial' the proper and only needed source files
for converting and subsequent rendering of cortex surface?
- Does each row contain x y z of vertices in RAS space? If not, what
information then contain those columns?
- I don't see the faces in the output file. How can I generate them?
Regards, Denny Milakara
Bruce Fischl wrote:
nothing by default that will do it, but it should be easy enough in matlab
On Mon, 21 Dec 2009, Denny Milakara wrote:
Dear Freesurfers,
I wonder if there is a way to output the triangulated pial surface for both hemispheres into a single ASCII file according to OFF-file schema:
OFF numVertices numFaces numEdges x y z x y z ... numVertices like above NVertices v1 v2 v3 ... vN MVertices v1 v2 v3 ... vM ... numFaces like above
...where the number of edges is to be ignored.
Thank you for your suggestions! Denny Milakara _______________________________________________ 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