• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need some help with a false color image algorithm

I have a 12 bit color lcd. This is coded as 4 bit red, 4 bit green and 4 bit blue.

i am doing some experimenting.

So, i have 16 different levels for each color.
I need to apply a value of 0 and 500 to a color.
I can add some offset to start at any color.

What i want to make is an algorithm that first uses 2 lower bits blue, then 2 lower bits green, then add 2 high bits blue and add two high bits green and 1 bit red. Then start adding all leftover high red bits. This should give me a false color image of a temperature range with a level from 0 to 500.
It is going to be my first approach. Might as well be wrong.

I am thinking of first converting the temperature to color, then multiplying the color value with an amplification value and adding an offset.
That should get me in a 12 bit color range.

When looking at the color wheel in paint.net, i really want a spiral in a red,green,blue color wheel that starts at blue and spirals along blue, green, red towards the middle and ends up in bright white. With all intermediate colors in between.

Any body have an idea ?
 
Back
Top