Your file appears to be a NIFTI volume file.  Use the command “wb_command 
-volume-label-import”.  This command adds labels to the volume file’s header 
and creates a new NIFTI volume that is viewable in wb_view.

On Feb 13, 2017, at 1:43 PM, Xavier Guell Paradis 
<xavie...@mit.edu<mailto:xavie...@mit.edu>> wrote:

Dear John,
My file is a cerebellum map: 
Buckner2011_7Networks_MNI152_FreeSurferConformed1mm_LooseMask.nii. This file 
contains integers from 1 to 7 for the cerebellar structures.
I have tried -cifti-label-import and -metric-label-import but they do not seem 
to work. Which wb command would you recommend?
Thank you very much,
Xavier.

________________________________
From: 
hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>
 
[hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>]
 on behalf of Harwell, John [jharw...@wustl.edu<mailto:jharw...@wustl.edu>]
Sent: Monday, February 13, 2017 1:07 PM
To: hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>
Subject: [HCP-Users] Edit colors of palette in wb view?

Hello,

You will need to convert your data to the CIFTI Label File format using 
“wb_command".  A label table contains a group of labels and each label consists 
of a text name, RGB color components, and an integer value.  When the data is 
displayed, coloring is performed by matching data values to the integer values 
in the label table.

Without knowing the format of your data, I am unable to suggest the best 
“wb_command” for you to use but one of these may be useful:
* wb_command -cifti-create-label
* wb_command -cifti-label-import
* wb_command -metric-label-import

Related questions have been asked previously and these are links to them from 
the HCP user archives:
* http://www.mail-archive.com/hcp-users@humanconnectome.org/msg02286.html
* http://www.mail-archive.com/hcp-users@humanconnectome.org/msg01919.html
* http://www.mail-archive.com/hcp-users@humanconnectome.org/msg02548.html

John Harwell


________________________________
From: 
hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>
 
<hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>>
 on behalf of Xavier Guell Paradis <xavie...@mit.edu<mailto:xavie...@mit.edu>>
Sent: Monday, February 13, 2017 11:05 AM
To: hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>
Subject: [HCP-Users] Edit colors of palette in wb view?

Dear HCP experts,
Is it possible to edit the colors of the palette in wb view? For example, is it 
possible to define color A, color B and color C and tell wb view to show 
values=1 in color A, values=2 in color B, values=3 in color C, etc.?
Thank you very much,
Xavier.
_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org>
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

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


_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to