I have an image like the one from a heat detector camera (thermal vision). What I want to do is to assign values to the each of the colors of the image so I would end up with a matrix of values for heat instead of values for RGB colors so that I can use the exact values instead of comparing the colors to the color criterion every time.
The color criterion is basically jet and the corresponding heat values span from 0 to 266. I know that there are many documents regarding how to assign colors to different values but I couldn't find any that does the job the other way around. Please help 🙁
Best Answer