Thanks a lot for your responses. Label files might not be the perfect solution for my problem, as the assigned colours are result of a color mixing and are more of a continuous than a discrete character. Anyway, I will try to approximate this using labels. Is there any kind of limitation regarding the number of labels?
Regards, Corina > On 6. Dec 2017, at 22:00, Harwell, John <[email protected]> wrote: > > Hi Corina, > > At this time, Connectome Workbench is not able to display RGBA files. I do > not know when, or if, display of RGBA files will be added. > > As Matt Glasser indicated in his response, you may want to try using a Label > file. A label file contains integers where each value is an index into a > table of names. > > John Harwell > >> On Dec 6, 2017, at 5:15 AM, Corina Melzer <[email protected] >> <mailto:[email protected]>> wrote: >> >> 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 >> >> >> >> >
smime.p7s
Description: S/MIME cryptographic signature
