viewing rgb FA

Moderators: denghien, riviere

pron.a
Posts: 22
Joined: Mon Feb 22, 2016 10:09 am

viewing rgb FA

Hello dear Anatomist team,

I would like to visualize fractional anisotropy colored in RGB according to the first eigen vector coordinates as done in FSLview
From the first eigen vector volume I generated a RGBa volume using the corresponding anatomist fusion method but I do not know how to say to anatomist to interpret them as "color RGB coordinates". Is there an existing functionality to do that ? I found in Brainvisa a RGB eigenvector viewer but it displays colored bars for the coordinates axis and display the rgba volume as it is ( gray scale)
If you have any hint , it would be super cool

Have a good day,
riviere
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: viewing rgb FA

Hi,
I do not completely understand what you have done, but probably not what you expect...
RGB[A] volumes are 3D volumes which contain in each voxel 3 or 4 color elements, so they can be displayed directly in anatomist. If you still see them in greyscale, then it means that they do not contain the expected information (either 3 times the same intensity, either they are not RGB volumes).
The problem, I guess, is in the transformation of the eigenvector volume to a RGB volume. How is this eigenvector volume represented ? A volume of scalars with more than 3 dimensions ? Then we don't have (yet) a conversion inside Anatomist - but we could easily do a conversion script using pyaims and numpy.
Denis
pron.a
Posts: 22
Joined: Mon Feb 22, 2016 10:09 am

Re: viewing rgb FA

Hello Denis,
thank you for you answer. Yes it is exactly what 's happening ! My eigen vector volume is a 4D (x,y,z,3) Volume and with the RGBAfusion method I obtain a volume with identical coordinates. Should I convert the eigenvector volume into 3D volume with "vectorial" type ?
riviere