Dear surfers,
Using [faces verts] = freesurfer_read_surf(surface) gives me the face
list and vertices coordinates. I assume that using different surface
(e.g. lh.white and lh.sphere) changes only the coordinates and the face
list remains the same (?). What about with flattened patch? I converted
the flattened patch to ascii and read it to Matlab. This is what I got:
First ten rows:
'#!ascii version of patch ./lh.orig. The 1st index is not a vertex number'
'25720 50563'
'1 vno=0'
'6.217312 34.772942 0.000000'
'2 vno=1'
'6.013689 34.451294 0.000000'
'3 vno=2'
'5.807863 33.961815 0.000000'
'4 vno=3'
'6.546745 34.426727 0.000000'
...
At somepoint the rows changes to this:
'0'
'0 1 3 '
'1'
'4 3 1 '
'2'
'0 75 1 '
'3'
'76 1 75 '
'4'
'0 3 83 '
'5'
It's obvious that every second row, starting from the 4th row, is the
xyz-coordinates of the vertex on the flatmap. Is the latter part of the
ascii data the face list? And if it is, are those indices referring to
the original vertice indices?
Long story short: does the ascii data (of the flat patch) consist of the
vertice coordinates and the face list in the same way as lh.white (with
the exception that indices are reduced by one [1=0, 2=1...])?
-Tuomas