[vtk-developers] LookupTable madness

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue May 22 00:27:48 EDT 2001


hi,

Julian Humphries <julian at essaustin.com> reported this here:

http://public.kitware.com/pipermail/vtkusers/2001-May/006197.html

and I confirmed the problem with both 3.2 and the nightly releases.
No one replied to the reports and I am no expert on this...  I thought
the bug was pretty severe since any color mapping would be inaccurate
if the LuT was messed up?

prabhu

>>>>> "DG" == David Gobbi <dgobbi at irus.rri.on.ca> writes:

    DG> Hi all, I'm looking for a simple way to build a lookup table
    DG> with a greyscale ramp in VTK, but the only way I've found is
    DG> to set all table values directly via SetTableValue().

<snip>
    DG> but this results in the following grey values:

    DG>   0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 2 2 2 3 3 3 4 4 5 5 5 6 6 7 8
    DG> 8 9 9 10 11 11 12 13 13 14 .........  254 254 254 254 255

<snip>




More information about the vtk-developers mailing list