Hello all,
in latest release, the camera calibration data is imported from DJI XMP meta data. I tested on a Phantom 4 RTK data set and all calibration parameters are correctly imported into Metashape. The XMP data from first image in data set is:
---- XMP-drone-dji ----
Absolute Altitude : +170.42
Relative Altitude : +100.10
Gps Latitude : -36.41144502
Gps Longtitude : 174.63075195
Gimbal Roll Degree : +0.00
Gimbal Yaw Degree : -1.30
Gimbal Pitch Degree : -90.00
Flight Roll Degree : -6.00
Flight Yaw Degree : +2.50
Flight Pitch Degree : -15.00
Flight X Speed : +0.20
Flight Y Speed : +0.00
Flight Z Speed : +0.00
Cam Reverse : 0
Gimbal Reverse : 0
Self Data : Undefined
Calibrated Focal Length : 3666.666504
Calibrated Optical Center X : 2736.000000
Calibrated Optical Center Y : 1824.000000
Rtk Flag : 16
Rtk Std Lon : 1.36853
Rtk Std Lat : 1.49256
Rtk Std Hgt : 3.18013
Dewarp Data : 2018-09-06;3684.480000000000,3677.570000000000,2.240000000000,22.050000000000,-0.263482000000,0.106788000000,0.000037110700,-0.000327247000,-0.030078300000
Dewarp Flag : 0
The dewarp data contains date;fx, fy, cx, cy, k1, k2, p1, p2, k3 parameters and these are correctly imported into MS calibration window, except b1 affinity parameter which should be equal to fx - fy = 6.91 (see screen capture). Why is this so?
It seems such high affinity value for b1 is unrealistic as after optimizing and adjusting alignment on 4 GCPs, I get adjusted b1 of 0.1499 which is far from calculated value from Dewarp data....see second attachment