NeoGeographyToolkit / StereoPipeline

The NASA Ames Stereo Pipeline is a suite of automated geodesy & stereogrammetry tools designed for processing planetary imagery captured from orbiting and landed robotic explorers on other planets.
Apache License 2.0
479 stars 169 forks source link

Detect parallel rays in stereo_tri #249

Closed ScottMcMichael closed 10 months ago

ScottMcMichael commented 5 years ago

In stereo_tri it can be confusing when all of the points are thrown out because the rays are too close to parallel since there is no warning or error, you just get an empty point cloud. It would be helpful to count how many rays are discarded because of this and print something to describe what is going on.

oleg-alexandrov commented 10 months ago

stereo and bundle_adjust now save the convergence angle for the rays (for stereo it is also printed on screen). This should help debug such problems. (https://stereopipeline.readthedocs.io/en/latest/examples/stereo_pairs.html)

There's also the option --min-triangulation-angle in stereo (https://stereopipeline.readthedocs.io/en/latest/stereodefault.html#post-processing-triangulation)

Given how large the triangulated points clouds are, it is not feasible to infer statistics about this. This should also be a rare occurrence since normally input data form a stereo pair.