Hi Alex, have you looked at the read_annotation help?
doug



On 08/26/2013 03:37 PM, Alexandre Gramfort wrote:
> hi,
>
> when trying to read the following .annot file:
>
> https://dl.dropboxusercontent.com/u/2140486/annot_pb/left_mc-z.negative.sig.ocn.annot
>
> using the following matlab code:
>
> --
> [vertices, label, colortable] =
> read_annotation('left_mc-z.negative.sig.ocn.annot');
> unique(label)
> unique(colortable.table(:, end))
> setdiff(colortable.table(:, end), unique(label))
> --
>
> there seem to be a discrepancy between the "label" and the last column
> of colortable "colortable.table(:, end)"
>
> the script outputs:
>
> --
> Reading from version 2
> colortable with 7 entries read (originally none)
> ans =
>             0     2244856     3987639     5840816    11298645
> 13698134    16665710
> ans =
>       2244856     3834223     3987639     5840816    11298645
> 13698134    16665710
> ans =
>       3834223
> --
>
> in other words 0 is in label but not in the colortable. Should I
> conclude that 0 is 3834223?
> If so what's the proper way of figuring this out?
>
> thanks
> Alex
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to