/thermoTIF2PNG

Batch conversion of thermal TIFF files (from SenseFly ThermoMap, FLIR Vue Pro R, DJI Zenmuse, etc.) to PNG files, with normalisation options.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

thermoTIF2PNG.py

Landon Halloran (www.ljsh.ca)

Description

Simple script to do a batch conversion of TIFF files from a thermal camera (e.g. SenseFly ThermoMap) to PNG files. Useful for rapid analysis of thermal data before more stitching, radiometric calibration, etc.

The script can also do a global normalisation of values.

This should work for other non-thermal imagery applications too, as long as the input is a greyscale TIFF. A small modification would adapt the script to other input/output formats too...

Please cite this repo if this script is used in any published work.

Options

Example data

Two .tif files exported from a SenseFly ThermoMap camera are located in folder example_input/.

Example output

Example data output with settings globalrange = False and colourmap = 'hot': ThermoMAP_tif_example_001.tif output ThermoMAP_tif_example_002.tif output