Color PolyData based on VolumeData
Radosław Furmaniak <[email protected]>
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CAKO8d6O1SNov0HV6BzjY=VX1b3ghYNrq88jO_tChgS87=vFXOQ@mail.gmail.com> |
Hi All, I am trying to prepare a PolyData object from a series od DCM images and color it using some transfer function. I managed to create PolyData using vtkContourFilter. I also have vtkVolume object with mapped colors, so I know that I have correct color transfer function and I am able to map intensities onto desired colors. What I am trying to do is achieve the same results colorwise with the PolyData from ContourFilter. However, I do not know how to tackle this problem. I have tried using ProbeFilter with PolyData as input and RGB ImageData as the source, but the output is the same as input. Any suggestions how to approach this problem or if I am going the right way? I am fairly new to the VTK, so I do not know many of its possibilites yet. I'm working on Python 3.6 with VTK 8.1.1. Any help is appreciated. _______________________________________________ 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/vtkusers