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

Local alignment in ASP #229

Closed oleg-alexandrov closed 2 years ago

oleg-alexandrov commented 5 years ago

It would be great if Ricardo's (our former intern) code for doing local affine epipolar alignment for small image tiles is cleaned up and integrated. That would be one step towards using multiple algorithms for stereo. We already have the functionality for blending the results of the tiles after correlation and refinement as this is what SGM/MGM uses.

The existing --local-homography option may be wiped as it was an earlier attempt at doing the same thing.

This option though has some logic about how to increase the tiles if local alignment fails (that happens at image boundaries, where one tile sometime has just a handful of valid pixels in a corner).

Whatever logic is implemented, when local alignment happens, one should apply it to the original images, not to images that have been already aligned using the global alignment. Hence, we should avoid interpolating the images, and interpolating again into the interpolated result.

oleg-alexandrov commented 2 years ago

This work was done as part of a recent PDART proposal.