micmacIGN / micmac

Free open-source photogrammetry software tools
http://micmac.ensg.eu
Other
705 stars 151 forks source link

Sign of ResolutionPlani for DEM Init with Malt #147

Closed adakite closed 4 years ago

adakite commented 4 years ago

Hi

I found a weird behavior with Malt when providing an initial DEM.

With Malt Ortho, the Y sign has to be negative like any Geotags in GIS systems, while when using GeomImage strategy, I have to reverse the sign (being positive) in the XML of the DEM init. This is unexpected and to me, looks like a bug.

Antoine

erupnik commented 4 years ago

Hi, GeomImage and Ortho/UrbanMNE perform image matching in different geometries. In GeomImage we go from R2 being the coordinate system (CS) of the image to R1 being the depth. In Ortho/UrbanMNE we go from R2 being the X,Y coordinates of the terrain CS, to R1 being the Z of that CS. So it's no surprising the conventions are different.