Re: [Freesurfer] ROI labels for geometry vertices

2007-12-08 Thread Sergey Plis
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_anno

Re: [Freesurfer] ROI labels for geometry vertices

2007-12-08 Thread Sergey Plis
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_annota

[Freesurfer] ROI labels for geometry vertices

2007-12-07 Thread Sergey Plis
Hi, Please, help me to find out how to extract information I need. For each vertex in the geometry of the cortical surface I want an additional label that tells me which ROI this vertex belongs to. I extract all geometrical information using: mne_read_surfaces in matlab. This, however, doe

Re: [Freesurfer] ROI labels for geometry vertices

2007-12-10 Thread Sergey Plis
Hi Bruce, Thanks a lot! This one does work as described and provides me with information I need. -- Sergey Hi Sergey, here's read_annotation.m. It should also return the embedded colormap that's in the .annot file, including structure names. Not sure why it's not in your distribution. c