Hi HCP experts,
I have a question about how to change the colortable for gifti file (xxx.label.gii). I have used the python nibabel package to read the label file, the command is just as nibabel.gifti.giftiio.read(xxx.label.gii). Then, the format of the object is <nibabel.gifti.gifti.GiftiImage>. Further, how to get this object's colortable and modify it with my own defined colortable? Thanks for your time.
Best regards,
Guoyuan
Hi Tim,
Thanks for your reply, the problem has been solved with wb_command. In addition, I have a small question. For the dtseries.nii file with 1200 time points, if I want to split it into two dtseries.nii files which including 700 and 500 time points. How to do that? Thanks a lot.
Best
Guoyuan
-----原始邮件-----
发件人:"Coalson, Timothy Scott (S&T-Student)" <tsc...@mst.edu>
发送时间:2021-04-09 04:37:44 (星期五)
收件人: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
抄送:
主题: Re: [hcp-users] Colortable for gifti file (label.gii)
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/SN6PR01MB49910E74C9AEF784B457244F81749%40SN6PR01MB4991.prod.exchangelabs.com.
You can use wb_command -cifti-merge.
Matt.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/25b92253.90760.178b609038c.Coremail.yangguoyuan%40pku.edu.cn.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.