ThomasYeoLab / CBIG

MIT License
570 stars 380 forks source link

write .annot file error #15

Closed tanjia123456 closed 2 years ago

tanjia123456 commented 3 years ago

hello, I updated the label of each vertex through an algorithm. The purpose is to replace the updated labels_id with the labels_id in the .annot file, but the problem now is that I open the .annot file with Notepad and it is garbled. Do you know how to solve it? I want to replace the vertex_label in .annot file. If you know ,are you willing to share the source code?

Looking forword to your reply

rubykong commented 3 years ago

@tanjia123456 You can use write_annot.m and read_annot.m function from freesufer. You can consult the freesurfer mailing list for more information. https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSupport

tanjia123456 commented 2 years ago

@tanjia123456 You can use write_annot.m and read_annot.m function from freesufer. You can consult the freesurfer mailing list for more information. https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSupport

thks