MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

Image Georeferencing

Open arthurbenemann opened this issue 13 years ago • 3 comments

Geo-reference (CTRL+F>Geo Ref Images) function on Mission Planner needs to be modified to project the photos on the ground correctly.

Right now it rotates and sets the photo at the right spot on the KMZ file. But the projection is not calculated, the photo is just centered on the spot with the size entered by the user.

We need to calculate the projection of the photo on the ground using photogrammetric theory. We already have the 6 external orientation parameters at hand ( 3 coordinates, 3 attitude) and the internal parameters of the camera can be typed or selected by the user (as is implemented on Planning>Right Click>Map Tool>camera), all that is missing is some math.

So if you know your photogrammetric formulas please share! I will look up but if someone has the experience that would be handy. To state clearly what is needed:

Input:

  • 3 Coordinates for the camera position (lat,lon,alt)
  • 3 angles for the orientation of the camera (pitch,roll,yaw)
  • Camera sensor size
  • Camera focal length

Required output

  • 4 coordinates for the corners of the projected picture

With the coordinates when can use this specification of KML to add the photos: nonrectangular quadrilateral ground overlays

I also started a discussing on drones-discuss about this topic.

arthurbenemann avatar Mar 11 '13 18:03 arthurbenemann

the problem with projection is without knowing the height above ground, it is not accurate

meee1 avatar Mar 16 '13 00:03 meee1

What about using GPS altitude above sea level and subtracting the SRTM dataset. That could give some approximation. It would be a lot better than a user guessing a rectangular footprint.

arthurbenemann avatar Mar 16 '13 01:03 arthurbenemann

I realize this discussion has not had a comment in over a year, but I would also like to see this functionality improved. The biggest annoyance, as stated by arthurbenemann, is that the images have an arbitrary rotation, which is the same for each image, regardless of the heading of the aircraft, when in fact the heading is known from the log file.

There is another option for determining the scale on the ground without knowing the exact altitude above ground or the lens parameters: if the actual dimensions of an object or distance on the ground are known (or can be measured using the map tool in the flight planner), an interface could be devised that would allow the user to define the object or distance, and enter its value in length units (e.g., open one image, draw a line on it between two points, and indicate somehow that that is "n meters"). The software could then apply that scaling to all images. Granted, this won't work in hilly or sloping country, but it is better to a first approximation than what is currently done.

airborneimager avatar Aug 19 '14 15:08 airborneimager