Hello!
I am running into an issue where my bundle-adjusted stereo produces lower-quality DEMs than the DEMs pre-adjustment.
For this process, I have done the following:
1. Ran the bundle adjustment via the command:
bundle_adjust
<mosaic images> <xml files> --mapprojected-data ‘<mpfinal.tif>
<COPdem.tif>’ --min-matches 0 -o run/run
Here are the values from the final_residuals_stats.txt:
Mean and median norm of residual error and point count for cameras:
2013_09_23_01_mosaic.xml, 0.20325445852790747, 0.15932942112850354, 4791
2013_09_23_02_mosaic.xml, 0.26887238171911332, 0.18226643797647357, 5438
2014_08_25_01_mosaic.xml, 0.23543223564032964, 0.18611253699615665, 4354
2014_08_25_02_mosaic.xml, 0.32902476033063344, 0.22749145358867898, 3839
Camera weight position and orientation residual errors:
2013_09_23_01_mosaic.xml, 0.2733383998085806, 0.0050294865508786609
2013_09_23_02_mosaic.xml, 0.13105159473618685, 0.0040431678187474356
2014_08_25_01_mosaic.xml, 0.30900705441179216, 0.0019573341301389268
2014_08_25_02_mosaic.xml, 0.10435338494642199, 0.0022094353736378759
Per the documentation, this all looks good to me.
2. I then ran the stereo command which is the following:
stereo
-t rpc <mpfinal.tif> run_stereo/run_stereo --bundle-adjust-prefix run/run
--alignment-method none
3. Next, I ran the point2dem command to create the new, bundle-adjusted DEM
point2dem
--dem-hole-fill-len 200 <*-PC.tif>
Unfortunately, when I look at the image in QGIS, I get the following result which is not desired. Shown here with a hillshade on it for visualization:
I ran this using 2 mosaics and their equivalent map projected versions and then with 4 to see if I got a better result. Unfortunately, the one with 4 was even worse.

Any idea as to what might be causing this? Is there another command I should be using to produce the bundle-adjusted DEMs?
Thanks!