OpenDroneMap / ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
https://opendronemap.org
GNU Affero General Public License v3.0
4.92k stars 1.11k forks source link

Adds support for Zenmuse XT Thermal images #1653

Closed pierotofy closed 1 year ago

pierotofy commented 1 year ago

Adds support for Zenmuse XT thermal images (with radiometric calibration).

image

pierotofy commented 1 year ago

@holyCowMp3 while I was making these changes I noticed that https://github.com/OpenDroneMap/ODM/blob/master/opendm/thermal_tools/dji_unpack.py#L16 has the meta vars hard-coded, I don't have test images from an enterprise mavic 2 so I'm leaving them there, but note that we now have functions to extract those values (extract_raw_thermal_image_data). Perhaps even remove/condensate the Pillow code that unpacks the raw thermal image, since the exiftool function I wrote in this PR should be able to handle them.

If you have a dataset to share I can run some tests and update the code accordingly.

sbonaime commented 1 year ago

@pierotofy Do you think thermal images from Zenmuse XT2 could be use with this commit ? How can I check ? Thanks

pierotofy commented 1 year ago

Maybe, try it out and see if you get reasonable values.