10-08-2015 05:08 AM
I have to convert a thermo image in scale of colors (RGB). I could get this with IMAQ, but in particulare i have to pass from the temperature pixel valure at a color value. Can somebody help me to find the algorithm in labview please? thank you.
Solved! Go to Solution.
10-08-2015 07:12 AM
10-08-2015 09:11 AM
Gerd,
i think the request is exactly the other way round....
But Gerds suggestion is valid: Please attach an example image and tell us how the data shall look like later on.
Norbert
10-12-2015 04:02 AM
I have tried your idea but I do not need a graph or image result. I need the pixel value in RGB starting by the temperature pixel value that i have as imput.
here an example, I have a matrix with the temperature pixels values and i have to traslate them the RGB value.
10-12-2015 04:03 AM
http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/
I found this code. DO you think is a possible solution? Thanks
10-12-2015 04:15 AM
Hi anto,
I have a matrix with the temperature pixels values and i have to traslate them the RGB value.
Where is your matrix?
You load a file, then you convert this file to a 2D array of strings. This array is converted to DBL numbers!
For RGB values I would convert to I32 and display them in HEX…
Please provide (small file of) example data and expected result! Your image doesn't help that much…
10-12-2015 11:09 AM - edited 10-12-2015 11:20 AM
this is my matrix and i have to convert this temperature values to correspondent RGB values. Then I can plot with IMAQ tool.
10-12-2015 11:47 AM
Hi anto,
it still isn't a "matrix", it's just a 2D array of numbers…
Please provide that data in a VI, with array values set to default. Do you think we will start to key in all those values manually in an array?
Please also show use the expected result for those data. You didn't supply any equation (or algorithm), how all those values should be converted to a color.
As long as you don't supply such a formula I suggest to connect those 2D array to an intensity graph for a quick look on your data…
10-17-2015 04:26 AM
I found the solution algorithm here :http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/
thanks for your help, have a nice day.