[vtk-developers] Re: [vtkusers] vtkLookUpTable, what am I doing wrong?

Julian Humphries julian at essaustin.com
Thu May 3 10:11:34 EDT 2001


At 12:10 PM 5/2/2001 +0530, Prabhu Ramachandran wrote:

>     JH> However, the resulting table starts off with the first 16
>     JH> entries listed below This is not what I wanted. When applied
>     JH> to any grayscale image this LUT should change nothing (or at
>     JH> least that is what I want, as in later code I will be changing
>     JH> the min and max table range values to change image leveling).
>
>I notice the same problem that you report with both vtk3.2, vtknightly
>on Linux (i.e. the first 10 or so entries are all zero, also there are
>lots of repeated values).  I am not an expert on this but maybe it is
>because floats are being used in vtkLookupTable.cxx::Build() ?
>Should'nt this be a bad bug (after all scalar colouring is so
>important)?  I looked at the code briefly but dont understand much of
>it.

Can anyone confirm whether the resulting step valued LUT is in fact what is 
expected or not?


Julian Humphries
University of Texas








More information about the vtk-developers mailing list