Hi,

I want to map some custom coloring to the triangles in wb_view and thought of 
using the RGBA files for that. I created this RGBA file with nibabel using 
values between [0,1]. 

gii_arr = gifti.GiftiDataArray(data=color_data,intent="NIFTI_INTENT_RGB_VECTOR")
gii_img = gifti.GiftiImage()
gii_img.add_gifti_data_array(gii_arr)
gifti.giftiio.write(gii_img, 'test.rgba.gii')

When loading this file into wb_view, all faces are coloured blue instead of the 
defined color codes. 

How is this file supposed to be formatted to show the defined coloring? Am I 
getting the idea of this kind of file wrong?

I also tested with an rgb file which has been provided for caret some time ago 
(https://www.nitrc.org/forum/forum.php?offset=125&max_rows=25&style=flat&forum_id=281&thread_id=
 
<https://www.nitrc.org/forum/forum.php?offset=125&max_rows=25&style=flat&forum_id=281&thread_id=>).
 The overlay is also just blue and not as shown in their provided screenshot.

[workbench version 1.2.3]

Thanks for your help,
Corina




Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to