How neogeographytoolkit/stereopipeline works
Project type and purpose
• This is a native C++/Python open-source command-line toolkit (the Ames Stereo Pipeline, ASP) for automated geodesy and stereogrammetry. It produces DTMs/DEMs, ortho images, 3D models, and camera networks from stereo imagery.
File structure
• Top-level directories:
• src/asp: all core C++ libraries and Python helper scripts organized into subpackages (Camera, Core, GUI, Sessions, SfS, Tools, etc.)
• thirdparty: bundled test and utility libraries (gtest, protobuf, autotroll)
• docs: ReST source + examples + images for documentation site
• examples: sample stereo‐processing jobs and data
• conda: environment definitions for multiple Python/OS versions
• .github/workflows & cmake/: CI, build and environment helpers
• Each C++ subdirectory under src/asp builds into libraries or executables via CMakeLists.txt
• Tools/ directories contain small binaries or scripts that form the CLI entry points
• Plugins/stereo holds runtime‐loadable plugin lists for extension
• Build artifacts: CMake generates executables (in bin/) and libraries (in lib/)
Key insights from the README
• ASP is modular, cross-platform, built under Apache 2.0
• Relies heavily on external libs: GDAL, OpenCV, Ceres, ISIS, Eigen, PDAL, Boost
• Uses Sessions/Factory pattern to select per-sensor processing logic
• Provides Python utilities for scripting and batch driving
Detail
• Every major module (Camera, Core, GUI, Sessions, Tools, SfS)
• Build/deploy layer (CMake, conda, CI)
• How data transforms as it flows through the pipeline