As a FLIR camera owner, I'd like thermograms to be color scaled using the settings when originally taking the photograph so I have an intuitive visualization

Issue #25 open
Arthur Nieuwland repo owner created an issue

The current default values are not useful. To do this:

  • Use the palette embedded in the thermogram, if present (otherwise Turbo)
  • Use the temperature stretch embedded in the thermogram, if present (otherwise 1st to 99th percentile?)

Comments (6)

  1. Arthur Nieuwland

    Simply extracting the colors isn’t enough. The brightness needs to be correct as well. See

    The script linked in the second bullet also shows how to render with the embedded min/max temperatures. What it does is (PHP):

    $RAWmax=$exif[0]['RawValueMedian']+$exif[0]['RawValueRange']/2;
    $RAWmin=$RAWmax-$exif[0]['RawValueRange'];
    

  2. Log in to comment