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

Sampling rate for images when changing the camera model #238

Closed oleg-alexandrov closed 10 months ago

oleg-alexandrov commented 5 years ago

Our stereo and bundle_adjust tool when invoked with Photometrix and other pinhole models compute an approximate model on the fly which is faster to evaluate either for distortion or distortion computation. The problem is that this approximate model computation can be very slow for huge images as we use a hidden default sampling rate of 50 pixels. I think stereo, bundle_adjust, and convert_pinhole_model should take an input a --num-samples-per-image flag with a sensible default. The same number should be passed to the function that computes undistortion for RPC distortion as the same logic is used there.

ScottMcMichael commented 5 years ago

The sampling rate should now be auto-computed to a reasonable value in VW.