LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extract data from Radiometric jpeg into csv or XML

Hi,

I'm looking for a possibility to extract numerical  temperature data from a radiometric jpeg picture taken with a thermal camera and store this data in a csv or xml file.

Thanks & regards,

0 Kudos
Message 1 of 7
(3,274 Views)

Can you attach a sample picture? What is the expected output, an 8-bit integer? Have you tried the Graphics Formats VIs and Picture Functions?

0 Kudos
Message 2 of 7
(3,262 Views)

Hi Gregory,

Thank you for your reply.

In more detail, a thermal camera is able to create thermal images (radiometric jpeg) that contain the image information as well as the numerical temperature value for each pixel.

I've attached a radiometric jpeg photo shot with a "Flir one pro 160x120" thermal camera.

Additionally you can find a csv file containing the temperature values for each pixel of this jpeg.

The csv file has been created from the attached jpeg by using "Flir tools" software.

I've checked "picture function" and "graphic format" VI's but could unfortunately not find any suitable VI able to handle this task.

Download All
0 Kudos
Message 3 of 7
(3,234 Views)

After a bit of searching, it seems like Radiometric JPEG images are proprietary to each manufacturer, so you need the manufacturer's software to extract the numeric data. FLIR does have some LabVIEW toolkits, but they were updated long ago and require installation keys. So you may want to call FLIR customer support to see if they have any LabVIEW toolkits for your specific device output.

 

Capture.PNG

0 Kudos
Message 4 of 7
(3,208 Views)

I will follow your advice and check with Flir if I can find any suitable toolkit.

Thanks very much for spending your time.

0 Kudos
Message 5 of 7
(3,190 Views)

Hi AH_Serdar,

 

I know the thread is nearly a year old.  But I find I have a the same question as your original post.  I'm trying to retrieve numerical data from an R jpeg into a data file for further processing.

 

In the interest of not wanting to re-create the wheel, I thought I might ask what direction you have gone towards your solution.  I'm still reading and educating on the relationship of the data format, tools (like Labview), manufacturers who's hardware creates the data (like FLIR).  I thought there might be a chance of a quick boost of knowledge by learning what you have done to solve your curiosity/project.

 

Thanks for any tips.

Rob

0 Kudos
Message 6 of 7
(2,869 Views)

As the way the radiometric data is "hidden" inside the JPEG file seems to be proprietary, you either need a full specification of how your specific camera likes to do these things and try to parse out the relevant information from the JPEG binary stream, or find an SDK from your camera manufacturer to process those files. If you go the SDK path, you'll have to figure out how to interface to its functions. Most likely this is either through Call Library Nodes (if the SDK is in the form of classic DLLs) or through .Net functions (if it is a .Net assembly). Other possible interfacing methods might be ActiveX (but that is really old and legacy nowadays) or through System Exec calling a command line tool. 

Rolf Kalbermatter
My Blog
0 Kudos
Message 7 of 7
(2,836 Views)