Well, they mean something in that they are an index into a vertex, and
if you're going to use the surface-based registration with
mri_label2label, then you'll need to get them right.
doug
Bruce Fischl wrote:
Hi Aaron,
no, they don't really mean anything. They are a side effect of a
number of algorithms (tesselation and topology correction). The .asc
lists all the vertices, then all the faces:
int
MRISwriteAscii(MRI_SURFACE *mris, char *fname)
{
int vno, fno, n ;
VERTEX *v ;
FACE *face ;
FILE *fp ;
fp = fopen(fname, "w") ;
if (!fp)
ErrorReturn(ERROR_NOFILE,
(ERROR_NOFILE,
"MRISwriteAscii: could not open file %s",fname));
fprintf(fp, "#!ascii version of %s\n", mris->fname) ;
fprintf(fp, "%d %d\n", mris->nvertices, mris->nfaces) ;
for (vno = 0 ; vno < mris->nvertices ; vno++)
{
v = &mris->vertices[vno] ;
fprintf(fp, "%f %f %f %d\n", v->x, v->y, v->z, v->ripflag) ;
}
for (fno = 0 ; fno < mris->nfaces ; fno++)
{
face = &mris->faces[fno] ;
for (n = 0 ; n < VERTICES_PER_FACE ; n++)
fprintf(fp, "%d ", face->v[n]) ;
fprintf(fp, "%d\n", face->ripflag) ;
}
fclose(fp) ;
return(NO_ERROR) ;
}
chers,
Bruce
On Wed, 30 Jul 2008, Aaron Shmookler wrote:
Do the vertex numbers mean anything significant or can they be any
number?
Also, it appears that there are two different sets of vertices in an
mris_convert asc file of ?h.inflated. What are these vertices and
what do
they mean?
--
Douglas N. Greve, Ph.D.
MGH-NMR Center
[EMAIL PROTECTED]
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