Save the matrix data as dscalar and then make the label table as an 
appropriately formatted text file and combine them with wb_command 
-cifti-label-import.

Peace,

Matt.

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Aaron C <[email protected]<mailto:[email protected]>>
Date: Sunday, May 8, 2016 at 2:07 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [HCP-Users] A question about saving custom parcellation label map in a 
CIFTI *.dlabel.nii file

Dear HCP experts,

I have a question about saving my custom parcellation label map in a CIFTI 
*.dlabel.nii file. I can now save the labels in a *.dscalar.nii file by using 
the CIFTI header of an existing *.dscalar.nii file, but I cannot do the same 
for saving my labels in *.dlabel.nii file directly by using the CIFTI header of 
an existing *.dlabel.nii file,  because I need to use my own label table for 
defining label color scheme different from the one used in the CIFTI header of 
the existing *.dlabel.nii file.

Would you please advise how can I create a custom *.dlabel.nii file with my own 
ROI names, key values, and corresponding RGB color values from a vector of 
labels for each vertex (32k mesh)?

Many thanks!

_______________________________________________
HCP-Users mailing list
[email protected]<mailto:[email protected]>
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

________________________________
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.

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to