I’m new to ODM (testing with WebODM container on an Ubuntu box and just bought Piero Toffanin’s book) and I also have a DJI Phantom 4 RTK drone.
This drone includes factory-calibrated metadata in its JPG survey images, for example:
Dewarp Data : 2018-10-18;3685.600000000000,3679.070000000000,-11.820000000000,-0.500000000000,-0.265548000000,0.108746000000,0.000233438000,0.000097564200,-0.030996200000 Dewarp Flag : 0
Q. How do I ensure that this data is incorporated into the ODM processing pipeline?
I figure that this data should be read when the photo dataset is first loaded and parsed, and that if the image has not already been dewarped (
Dewarp Flag: 0) then the photos should be distortion-corrected prior to subsequest processing (in sfm stage).
If this is not handled in ODM pipeline, I will process the files externally (perhaps using something like OpenCV similar to GitHub - dronemapper-io/dji-dewarp: OpenCV Tool to Correct and Apply Distortion Dewarp to DJI Drone Images via EXIF Tags.), before I load into ODM.
Any guidance much appreciated, and thanks for integrating an amazing set of software packages!