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?

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to