[Paraview] [EXTERNAL] Assign colors to brain fibers

Moreland, Kenneth kmorel at sandia.gov
Mon Jan 9 10:37:07 EST 2012


You mean you want to save the geometry with the colors attached?  When you
save the geometry, the id for each line is saved, but not the color
associated with each id.  You can get the colors back by coloring by the
ids again when you reload.


-Ken

On 1/9/12 8:27 AM, "Rafa x" <rromero3000 at gmail.com> wrote:

>Thanks but I need like to save in a format where the 586 elements can
>be separately identified by other program (like .vtk). However, when I
>save my new colors using .vtk and after that I load the same file,
>using paraview too, my colors disappear. So I suppose that color
>information is not saved in the vtk file. Thus, I would need to save
>in a vtk maintaining the display showed in the paraview, Is that
>possible?
>
>El día 9 de enero de 2012 16:13, Moreland, Kenneth <kmorel at sandia.gov>
>escribió:
>> File -> Save Screenshot
>>
>> -Ken
>>
>>
>>
>> On 1/9/12 4:02 AM, "Rafa x" <rromero3000 at gmail.com> wrote:
>>
>>>Thank you for your quick and useful answer. It works perfectly. I
>>>would like to make you a final question: Can I save the image
>>>maintaining the colors visualization in a file format that can be read
>>>by other programs?
>>>
>>>El día 5 de enero de 2012 20:49, Moreland, Kenneth <kmorel at sandia.gov>
>>>escribió:
>>>> Try applying the Generate Ids filter and then color the result by the
>>>>Ids
>>>> cell field (not the point field).  The colors won't exactly be
>>>>arbitrary,
>>>> but if you switch to the rainbow color map you'll get something fairly
>>>> close.
>>>>
>>>>
>>>> -Ken
>>>>
>>>> On 1/5/12 8:43 AM, "Rafa x" <rromero3000 at gmail.com> wrote:
>>>>
>>>>>Dear All,
>>>>>I have a .vtk file with 586 elements (DTI streamlines which represent
>>>>>brain fibers). I would like to represent it assigning an arbitrary
>>>>>color to each these 586 elements.
>>>>>
>>>>>Thank you all in advance,
>>>>>Rafael Romero.
>>>>>_______________________________________________
>>>>>Powered by www.kitware.com
>>>>>
>>>>>Visit other Kitware open-source projects at
>>>>>http://www.kitware.com/opensource/opensource.html
>>>>>
>>>>>Please keep messages on-topic and check the ParaView Wiki at:
>>>>>http://paraview.org/Wiki/ParaView
>>>>>
>>>>>Follow this link to subscribe/unsubscribe:
>>>>>http://www.paraview.org/mailman/listinfo/paraview
>>>>>
>>>>
>>>>
>>>
>>
>>
>




More information about the ParaView mailing list