[Paraview] [EXTERNAL] Assign colors to brain fibers

Rafa x rromero3000 at gmail.com
Mon Jan 9 10:48:08 EST 2012


Yes, the id is available to color by after the 5 steps. However, the
mapColor showed is the last used in Paraview not the mapColor saved in
the previous process. For that reason I have supposed that mapColor
information is not saved in the vtk. Do you know some way to store the
mapColor in the vtk file to allow that other DTI programs can
interpret it?

El día 9 de enero de 2012 16:34, David E DeMarle
<dave.demarle at kitware.com> escribió:
> Once you:
> 1)load original data
> 2)apply ids filter
> 3)select ids filter in pipeline browser
> 4)save as Legacy VTK files,
> and
> 5)load that new file back in to ParaView,
> is the new "Ids" variable not available to color by?
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
>
> On Mon, Jan 9, 2012 at 10: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
>> >>>>
>> >>>
>> >>>
>> >>
>> >
>> >
>> _______________________________________________
>> 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