Giter VIP home page Giter VIP logo

Comments (3)

gtatters avatar gtatters commented on May 28, 2024

Hi there,

Any chance you could attach a sample image otherwise this is difficult to diagnose. Many of the entry level consumer flir cameras deceive the user into thinking the resolution is 320x240 when the fundamental sensor is only 80x60, but I cannot tell for sure.

Glenn

from thermimage.

cambriec avatar cambriec commented on May 28, 2024

FLIR1351

This is shot with a Flir C2, I just looked up the model online and it does say that the IR sensor is 80x60. Not really related to the R package, but this just makes it more difficult, or perhaps less accurate, when analyzing in Image J. That's why I was wondering why importing the images made the resolution so low.

from thermimage.

gtatters avatar gtatters commented on May 28, 2024

From the terminal window:

exiftool -*width* -*height* FLIR_C2.jpg

Exif Image Width                : 320
Raw Thermal Image Width         : 80
Embedded Image Width            : 640
Image Width                     : 320
Exif Image Height               : 240
Raw Thermal Image Height        : 60
Embedded Image Height           : 480
Image Height                    : 240

There are multiple "images" inside the file. The thermal cam is only 80x60, while the digital image is either 320x240 or even as high as 640x480. FLIR creates an overlay image from the digital camera's halo/outline of the field of view to overlay on top of the raw thermal image. The thermal image must be artificially increased in size, but not in actual resolution, producing the blurry thermal image you see in the native jpg.

The Thermimage package is only designed to extract the raw thermal signal contained in these jpg files, so unfortunately, the resolution is only as great as the sensor size. Thermimage relies on Exiftool's -rawthermalimage extraction function at this time.

Sometimes FLIR employs a supermax resolution whereby they digitally increase resolution by sampling the 'jitter' from handheld cameras but usually this supermax only doubles the resolution (i.e. 160x120). I don't think they can bump it any higher but I could be wrong.

The problem with the thumbnail jpg loaded into ImageJ is contamination from the digital image overlay (the dull white halo). That will obscure and influence temperature estimates, plus we don't know what FLIR has done to upsample the image to create that effect. I would argue that the raw data are better than any digitally manipulated data, and it is likely that the upsampled image has averaged some of the temperatures by smoothing across pixels.

The consumer grade thermal cameras are not rated highly accurate as well. Use cautiously if you need accurate temperatures.

Closing issue as being beyond Thermimage to fix. If a more astute observer of exif headers can point to where the upsampled thermal image is in the file without the digital image overlay, please comment.

from thermimage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.