I have a problem with geo-referenced photos from a DJI drone. I have the coordinates of the center of the photo and the metadata related to the photo and I would like to know how to go from a pixel to its relative coordinates.
Example metadata [Exif]:
latitude: 45.6426621388889 longitude: -94.5975223611111 AbsoluteAltitude: 332.743835 FlightPitchDegree: 0.3 FlightRollDegree: 3 FlightYawDegree: 89 GimbalPitchDegree: -90 GimbalRollDegree: 0 GimbalYawDegree: 7.8 RelativeAltitude: 40.700001 TlinearGain: 0 altitude: 332.7 altitude_ref: 0 aperture: 1.25 f_number: 1.25 focal_length: 13 image_make: "DJI" image_model: "FLIR"
Having these and knowing that you have a box positioned at the pixels: 113 (xmin), 360 (ymin), 139 (xmax), 406 (ymax) how can I get its coordinates?
From a software I was able to extrapolate a solution that brings me back:
-94.6002156260815 (minimum longitude) 45.6413373184107 (minimum latitude) -94.5998767997666 (maximum longitude) 45.6417408827611 (maximum latitude)
The problem is that I cannot understand whether it is right or whether it is calculated.