External Email - Use Caution
Howdy,
There is a discussion regarding the .annot file format over at the nibabel github repository, regarding the interpretation of the flag/alpha value:
https://github.com/nipy/nibabel/issues/649
If one wishes to create an .annot file with colours that have a transparency value, how should it be stored in the file? By piecing together the information from the freesurfer code [1,2], and Graham Wideman's helpful notes [3], I came to the conclusion that alpha values should be stored as 1-the actual value. But it would be great to get some clarification on this from somebody who knows more than me
Thanks very much,
Paul McCarthy
[1] https://github.com/freesurfer/freesurfer/blob/dev/matlab/read_annotation.m [2] https://github.com/freesurfer/freesurfer/blob/dev/matlab/write_annotation.m [3] https://surfer.nmr.mgh.harvard.edu/fswiki/LabelsClutsAnnotationFiles#Annotat...