Thank you! Although I did not find the exact function you're describing, there is a function with the same name that has the following help:
>> help read_annotation

  [annots] = read_annotation(fname)
  reads a binary annotation file into a vector


or this one

>> help freesurfer_read_annotation
freesurfer_read_annotation - reads a binary annotation file into a vector

  [annots] = freesurfer_read_annotation(fname)

  See also freesurfer_read_surf, freesurfer_read_curv,
           freesurfer_read_wfile



The vector returned has 7-8 digit numbers in it, and they do look like if they can be ROI labels.
e.g:

>> label(1:1000:10000)

ans =

     9182740
     9182740
     9182740
     9182740
     6558940
     9182740
     9221140
     9182740
     3957880
    14433500



Now how do I tell which ROI these indices correspond to?

Thank  you!

--
Sergey

On Dec 7, 2007, at 8:43 PM, Bruce Fischl wrote:

Hi Sergey,

In matlab you you can use read_annotation.m:
_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to