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

Re: [Freesurfer] ROI labels for geometry vertices

2007-12-08 Thread Bruce Fischl
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. cheers, Bruce On Sat, 8 Dec 2007, Sergey Plis wrote: Thank you! Although I did not find the exact function you'r

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

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-07 Thread Bruce Fischl
Hi Sergey, In matlab you you can use read_annotation.m: function [vertices, label, colortable] = read_annotation(filename) % [vertices, label, colortable] = read_annotation(annotfilename.annot) % % vertices expected to be simply from 0 to number of vertices - 1; % label is the vector of annotati

[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