[vtkusers] lookuptable: rgb to 256 colors
Marc Niethammer
marcn at ece.gatech.edu
Tue Aug 20 23:02:09 EDT 2002
Hi,
I would like to create a vtkLookupTable with 256 colors which maps
arbitrary RGB values to a color that is close. I.e. I would need some
sort of equation that translates the r,g and b component to an index
in the colormap (lookuptable) which should then have an rgb entry that is
close to the one used for computing the index.
Does anyone know how to do this?
Thanks.
-- Marc
More information about the vtkusers
mailing list