I think you want wb_command -volume-label-import.

Peace,

Matt.

From: 
<hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>>
 on behalf of Seán Froudist Walsh <froud...@tcd.ie<mailto:froud...@tcd.ie>>
Date: Tuesday, June 20, 2017 at 7:04 PM
To: "hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>" 
<hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>>
Subject: [HCP-Users] Custom visualisation help

Hey all,

I'm trying to get a colour display on a surface to match a colormap I have set 
up in matlab, and have run into a whole world of pain. I would greatly 
appreciate your help.

I have created a label text file of the following format:

TCpol_R
1    255    208    208    1
TCs_R
2    255    158    158    1
Amyg_R
3    255    81    81    1
PFCoi_R
4    255    231    231    1

I additionally have a nifti file, and a func.gii surface file (created with 
wb_command -volume-to-surface-mapping )

Ideally I would like to display those colours on the surface, in the correct 
clusters.

I thought I would try to display them on a volume as a first step, but that 
hasn't gone smoothly either.
I used a command of the following format:
wb_command -cifti-label-import my_atlas.nii.gz my_label_table.txt 
my_label_volume.nii.gz

Then I tried to display the label file over the volume in wb_view to no avail 
(I only see the underlying anatomical volume). Despite this, if I go to
Overlay Tools --> Settings --> Edit Map's Labels
I can see all of the labels I wanted listed, next to the correct colours.

I would greatly appreciate if you could help fill in the gaps in my knowledge 
so that I can display my custom coloured labels on the surface.

Many thanks,

Sean


_______________________________________________
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