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 annotation
%
% colortable is empty struct if not embedded in .annot. Else, it will be
% a struct.
% colortable.numEntries = number of Entries
% colortable.orig_tab = name of original colortable
% colortable.struct_names = list of structure names (e.g. central sulcus
and so\
on)
% colortable.table = n x 5 matrix. 1st column is r, 2nd column is g, 3rd
column
% is b, 4th column is flag, 5th column is resultant integer values
% calculated from r + g*2^8 + b*2^16 + flag*2^24. flag expected to be all
0.
On Fri, 7 Dec 2007, Sergey Plis wrote:
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, does not give me the labels for ROI of each vertex. I plan to
use freesurfer atlas for ROIs, but if anyone has a general answer that is
suitable for any atlas I will be happy. A step by step guide would be
appreciated :)
Thanks!
--
Sergey
_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer