views:

47

answers:

0

I was wondering if anyone has any words of advice or could point me to any good resources regarding the creation of color lookup tables for image synthesis. In my application I have floating point values between -1.0 and 1.0 that need to be mapped onto RGB space. The problem is, I don't know beforehand what precision those floating point values will have, so I don't know how many entries to put in the lookup table or what they should be. Are there any commonly used techniques to deal with mapping data in this form to colors? It seems it would be too costly to create a new color table for each image based on the range of values in the domain of the image data.

I guess defining a range of values for the mapping would work, but give me your thoughts. Also if anyone knows of any existing tools (preferbly python based) for creating color lookup tables that would be helpful.