Hi Oleg,
Thanks for your kind reply. I said the output was not rectified because the output.tif could not overlay onto the dtm (published by the HiRISE team), there are some offsets between these two images. It is interesting that some orthoimages published by the HiRISE team could overlay each other completely, but all of them could not overlay the published dtm...
I have tried several times with different input cubes. However, the results are the same. As you said I'm doing things right, I'm quite confused where the problem is.
I also tried generating a dem with stereo, and then point2dem out-PC.tif --orthoimage input.tif. However, it doesn't work too. The output image could not overlay onto the dtm completely, which is terrible for my research.
Hope that you guys could give me some advice on this. Many thanks.
Best wishes,
Yu