Open tanjia123456 opened 3 years ago
Hi,
sorry, this library does not yet support creating / writing annotation files
Basically you need to invert this reader function: https://github.com/fphammerle/freesurfer-surface/blob/1.1.0/freesurfer_surface/__init__.py#L267
OK, I will have a try. Thank you very much!
@fphammerle https://rdrr.io/cran/freesurferformats/man/write.fs.annot.html This may be useful, if you know how to write it, please open source the code, thank you!
hello, After I updated the vertex_label of rh.aparc.a2009s.annot with an algorithm, now I want to replace the vertex_label in the .annot with the updated vertex_label, mainly to see the effect of the segmentation, do you know what to do ?
The procedure for extracting vertex_index, vertex_label is as follows: