Hi everyone,
I'm currently doing some HiRISE DTMs, and so far everything until point2dem has worked well. The DTM overlaps quite well with the basemap I'm using as a reference (THEMIS), and the profiles look ok.
The issues arise when I run pc_align: I am aligning it with some MOLA shots that I cut to overlap the DTM I obtained with point2dem, but once it's done, the new aligned DTM is slightly rotated and shifted - depends on the algorithm I use and the subpixel mode in what degree there is rotation and shift. It's not something major (around 10m in the worst cases) but given HiRISE's high resolution, it counts. What I have observed is that after pc_align, the DTM doesn't cover all the original MOLA shots, because of the mentioned shift and rotation.
I am currently running different tests to see what are the results and try to pinpoint the source of the error, but I wanted to see if anyone has had a similar problem.
So far, I have used --datum D_mars, but for some tests I've also used --datum MOLA to see if there is any change. I'm also trying different algorithms to see which suits it best, but until now my first iteration has been the most successful, with asp_bm and subpixel-mode 1 (although I know this will depend on the area and the stereopair itself). I will also try different --max-displacement options. The stereopair I'm using is PSP_009735_1985-PSP_009880_1985.
I will give an update once my tests are done. Here is a visual representation of what I'm talking about (purple are the shots outside of the DTM; the first one is using asp_bm, spx 1, the second one using asp_sgm spx 9; from blue to red, is the quality of the disparity from MOLA to DTM in m, blue being less than 5m, red being greater than 20m):

I know it seems like there are very few purple spots, but before alignment to MOLA they overlapped perfectly, and this will be relevant if I want to mosaic several DTMs.
Thank you for your help in advance!
Janko