[vtkusers] ImagePlaneWidget mapping ImageData with 3 scalars to rgb
inglis.dl at gmail.com
Tue Sep 29 09:22:07 EDT 2015
try changing your value and saturation ranges to something else, like (1,1)
On Mon, Sep 28, 2015 at 10:29 AM, Lars Matthäus <lars.matthaeus at web.de>
> I have a DataSet with 3 scalar components, e.g. from loading a stack of
> rgb images with the vtkJPEGReader. I want to slice through it using a
> vtkImagePlaneWidget. Unfortunately, I cannot get the widget to display
> the rgb image; I only get a grey image.
> I played with the vtkLookupTable::SetVectorModeToRGBColors successfully
> to display the image as rgb using a vtkImageSliceMapper, but when I use
> the same lookup table for the vtkImagePlaneWidget, I get a grey image
> I attach some java sample code comparing the vtkImagePlaneWidget and the
> vtkImageSliceMapper as well as the output of the program.
> Any help appreciated!
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers