I have some temperature values in a given range, lets say between 0-100 Celsius. Now I want to map these values to colors, so blue=RGB(0,0,255) means 0°C, red=RGB(255,0,0) means 100°C and the colors in between mean some temperatures in between.
Matlab actually has a function called colormap. My stuff is implemented in OpenCV & C++. Is there anyone, who already has some experience in color coding or knows any good mathematical way to do that?