Dear ASP community,
I'm trying to generate a DEM from ALOS/PRISM images using RPC model, and found x-y offset in the final DEM created by point2dem. Until parallel_stereo (i.e., -PC.tif), there seemed to be no big offset, so I guess point2dem causes the offset (x: ~300 pixels, y: ~60 pixels).
The original ALOS image was tiled into several images (IMG-0x.tif and IMG-0x_rpc.txt), so I merged them and embedded the RPC camera into the merged image (IMG.tif, and IMG_rpc.txt). When I generated a tiled DEM from tiled images, this shift doesn't happen in the final DEM.
Could you please give me some advice on how to fix this? I've attached here an image of the shift, comparing GoodPixel.tif and the final DEM.
The following are the methods to generate a DEM from merged ALOS/PRISM images.
---
bundle_adjust -t rpc $img1 $img2 -o $ba_out/out
parallel_stereo -t rpc --stereo-algorithm asp_bm --bundle-adjust-prefix $ba_out/out $img1 $img2 $im12 $refDEM
point2dem --t_srs "+proj=utm +zone=42 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" $im12-PC.tif -o $im12-brend --dem-spacing 2.5
---
Best regards,
Haruki