Hello,
I am trying to stereo-process a set of Deimos-2 images with ASP - I have scripts that work for Pléiades, but the Deimos-2 images come with the RPC info in a different format (as a text file, see example attached). I first mapproject the images on a reference DEM, which works using the following command:
mapproject -t rpc --t_srs "+proj=utm +zone=45 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" --tr 0.75 $refDEM $img1 $rpc1 ./proj1.tif
It worked with and without specifying the RPC textfile (I can open the resulting images in QGIS and they seem well projected), which makes me think that mapproject reads the information directly from the TIF image.
However, when trying to run stereo, it fails and I get a message saying the images are not map-projected:
stereo -t rpc --subpixel-mode 1 --alignment-method affineepipolar $img1 $img2 ./im12 $refDEM
I read in the documentation that mapproject could output the RPC data, but could not find how to prescribe this? Or am I getting one of the commands wrong?
Thanks for your help!
Marin