[vtkusers] vtklookuptable question

kdsfinger at gmail.com kdsfinger at gmail.com
Fri Jun 23 10:59:27 EDT 2006

hi, all
I have a vtkImageData built on a stack images imported by
vtkPNGReader. When I display it by the vtkImagePlaneWidget, it has
only 2 colors: the 0 values are mapped to black and all the rest are
mapped to white. The values in the vtkImageData are grayscale
(unsigned char, a mri brain image). I tried some setting of the
vtkLookupTable but did not success. Any suggestions?

More information about the vtkusers mailing list