gpereyrairujo / IRimage

IRimage: Open source software for processing images from consumer thermal cameras
GNU Affero General Public License v3.0
37 stars 3 forks source link

Error received in Processing step #2

Open schertoff opened 2 years ago

schertoff commented 2 years ago

Hi there. I tried to upload images collected with a Flir One Pro camera and I immediately received this error message:

Error: Index (1) out of 0-0 range in line 133:

    columns = split ( rows [ j <]> , ":" ) ; 

What can I do to mitigate this error?

gpereyrairujo commented 2 years ago

Hi @schertoff . Could you share one of your images so I can look into this issue?

schertoff commented 2 years ago

Hi, Here are the practice photos I am using to learn how to do all the data processing.

Petunia-Front

Petunia-Side

Thank you!

gpereyrairujo commented 2 years ago

Hi @schertoff , thanks for sending the images! 😸

Unfortunately, the images I get when I download them from github do not contain radiometric (thermal) data, only the RGB image. I get the same error as you when processing these images, because IRimage does not find the relevant data in the file.

I tried processing an image from a flir one pro camera dowloaded from wikimedia commons (https://commons.wikimedia.org/wiki/File:FLIR_One_Pro_Thermal_Camera_(29349793577).jpg) and it worked ok. So, in theory it should work with your camera too, unless it is a different "flir one pro" version (I don't know if there are more than one).

It could be that the files have not been saved/exported in the "radiometric jpeg" format (I don't know if this could be the case for this camera), or maybe there is some sort of conversion when the images are uploaded to github, and that data is lost. Could you email the original files to me at gpereyrairujo.gustavo@conicet.gov.ar ? or provide a link to a shared folder with the original files (eg google drive)?

schertoff commented 2 years ago

Hello! I tried to email you back but received an error message. Is that the correct email address? Best, Sydney

gpereyrairujo commented 2 years ago

Sorry! It's pereyrairujo.gustavo@conicet.gov.ar (without the g at the beginning)

jbierling commented 1 year ago

I had to make a few changes to the order of the parameters being read for it to work without errors.

1-_Process.ijm.txt 2-_Measure.ijm.txt

jbierling commented 1 year ago

This is for the DJI XT thermal camera.

gpereyrairujo commented 1 year ago

Hi @jbierling , thank you very much for troubleshooting and fixing the code for this camera! (is it the Zenmuse XT?) Could you send me a thermal image from your camera, so I can test the code? My email is pereyrairujo.gustavo@conicet.gov.ar Thanks again! Gustavo

jbierling commented 1 year ago

Glad to help. Yes, it is the Zenmuse XT. I've emailed you a couple pictures.

Carl-mgb66 commented 7 months ago

I'm also getting the same error with a FLIR One.