Dear Oleg and ASP Community,
I am using ASP to process SPOT-5 stereo images for glacier DEM generation. While the workflow succeeds for most pairs, about 25% produce high bundle adjustment residuals (hundreds of pixels) and the resulting DEMs in general have high triangulated error and show artefacts such as bands with high triangulation error (that are then removed by filtering), scattered points with extreme elevation values.
The affected images are of good quality—sometimes better than pairs yielding good results. Disparity maps look reasonable, but triangulated point clouds are problematic, suggesting issues with the SPOT-5 camera model or incorrect RPC computation.
this is the filtered DEM

This is a zoom of the hillshaded DEM before applying the filtering. The noise are negative values in the DEM that are then clearly filtered out.
However, this is the H disparity map computed from the stereo-F.tif and it looks definitely better than the resulting DEM.

These are the residuals after BA:
IMAGERY_0.TIF, 302.49276505682542, 0.39772270783466424, 922
IMAGERY_1.TIF, 1064.4643429676958, 1.1861021192584178, 922
And I actually noticed that the cameras are almost not moved in the bundle. This is the adjusted version of camera 1 (here I was getting slightly better results decreasing the tri-weight in the bundle):
-2.9121780666644839e-12 -1.8474757597442705e-13 5.7778665628041269e-12
1 9.6721976158939355e-13 -2.6907099333228719e-12 -6.3774563585167884e-13
Thank you for your insights!
Francesco Ioli
Department of Geography
University of Zurich

--
You received this message because you are subscribed to the Google Groups "Ames Stereo Pipeline Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ames-stereo-pipeline...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ames-stereo-pipeline-support/675efd37-cafb-410a-8b39-9583d2800d59n%40googlegroups.com.


Dear Oleg,Thank you so much for your hints. I was able to replicate your results, and, indeed, without the bundle adjustment, the resulting DEM is fine. I therefore looked deeper into the bundle results, and found that most of the matched keypoints were rejected after the first run of the bundle (the left screenshot below shows the .match file, the right one shows the -clean.match file), and the only matches considered as valid have a very bad distribution. As a result, most of them clearly have large reprojection errors (see the ba-final_residuals_pointmap.csv). I guess that the matched points are rejected due to a bad camera geometry (at least for one image) that produces large epipolar errors in the matched points. I also tried to use SIFT as local feature descriptor, but the result was similar, so I guess the problem is not in the keypoints extraction and matching. The strange fact is that this happens on multiple image pairs, but not in all of them. But do you have any suggestions on this? Thanks in advance!CheersFrancesco
On Tuesday, January 21, 2025 at 8:53:03 PM UTC+1 oleg.al...@gmail.com wrote:
To view this discussion visit https://groups.google.com/d/msgid/ames-stereo-pipeline-support/058b6155-1000-440a-ae21-b014c5569ff0n%40googlegroups.com.