gtatters / Thermimage

R Package for working with radiometric thermal image files and data
GNU General Public License v3.0
164 stars 41 forks source link

Info about metadata #12

Closed matheushent closed 4 years ago

matheushent commented 4 years ago

This is issue isn't for feature suggestion or bugs itself; it's more about what some metadata really means.

I've been looking for info on the web but found nothing. I realised there are two metadata embedded on FLIR images called OffsetX and OffsetY. Any idea about what is it?

gtatters commented 4 years ago

I'm not sure. It might be related to the mid x,y coordinate for the Region of Interest Box that tends to be in the centre of the image, but can be modified by the user. Or possibly a location of an embedded picture within/on top of the thermal image space.

The tags, incidentally, are named by Exiftool author. Not sure they correspond precisely to FLIR nomenclature or not:

https://exiftool.org/TagNames/FLIR.html

matheushent commented 4 years ago

I would like to select the rectangle representing the thermal image in the embedded image extracted from the thermal. Any idea about doing it?

gtatters commented 4 years ago

not really, and it seems a task beyond me to work out. Also, I don't really understand what you are asking. When you extract the raw thermal image, it isn't embedded anywhere. FLIR just makes it appear that way with the thumbnail jpg they include to facilitate compatibility, but the raw thermal image seems usually to be included and extracted fully when you use the -RawThermalImage tag with Exiftool. I mainly wrote this package to deal just with the thermal image itself. But FLIR jpgs can often have multiple images embedded in them, making a generic function difficult to write. I think Exiftool can probably export multiple images that are found within a single .jpg, so you might need to do that part manually.

This is reaching more into Exiftool expertise I am afraid. :(

matheushent commented 4 years ago

Indeed, the issue really doesn't handle anything about this package, so I'm closing the issue.

gtatters commented 4 years ago

Ok, sorry I wasn't much help. The challenge is that ideally I should have a fully ported version of Exiftool available for use in R, but that would take significant time and talent I lack. :)