10-10-2020 01:33 AM
Dear all,
I'm struggling with an acquisition and saving VI that I would like to use to save to my PC images taken with a FLIR thermal camera. The VI acquires the data correctly and displays them correctly in the indicator, but I cannot save them with the correct palette (I would like the "Temperature" or "Rainbow" one) and seems to work only in grayscale. I've tried to connect the GetPalette to a WindDraw vi to test it and it works correctly, displaying the image in the window with the correct colours, but only saves it in grayscale.
Can anyone help?
Thanks in advance
Valeria
10-10-2020 09:36 AM
I passed this on to a colleague of mine who also uses FLIR cameras and knows about colorizing Grayscale images. I'm not sure he uses the LabVIEW Forums, but if he gets back to me, I'll let you know.
Bob Schor
10-12-2020 08:53 PM
Valeria,
My colleague (who introduced me to LabVIEW Vision and IMAQdx about eight years ago) reminded me that IMAQ Image Create creates, by default, a Grayscale U8 Image. You need to create a U32 RGB Image, which has 32 bits/pixel to carry color encoding, and then apply coloring.
I'm not sure I understand the following comments, so I'll just quote him:
"This vi is a bit more complicated than necessary. There is some attention paid to falling behind and there's no intense image computation going on.
10-13-2020 06:05 AM
Here are some options I can think of