How kubakolecki/xtrel works
xtrel is a C++ bundle-adjustment solver for photogrammetric data. Its visible workflow is to prepare adjustment inputs, assemble Ceres residuals and parameter blocks, solve the estimation problem, then compute uncertainty and calibration-correlation results; the solver also estimates reverse distortion. The repository includes reporting, calibration-certificate, and ray-check modules, but the excerpts do not show their runtime wiring, so they are represented as capabilities without guessed connections. Several relationships below are supported only by the SOURCE INDEX references; unsampled implementation details are not assumed.
Main entry points: BundleAdjustment.cpp Bundle adjustment · BundleAdjustmentData.h Adjustment data · DataInserter.cpp Residual assembly · CovarianceComputer.cpp Covariance analysis
Components 20
Adjustment inputs
- Adjustment settings
xtrel/BundleAdjustmentSettings.cpp - Adjustment data
xtrel/BundleAdjustmentData.h - Image and camera data
xtrel/ImageDataContainer.cpp - Image and terrain points
xtrel/ImagePointContainer.cpp - Angular surveys
xtrel/AngularSurvey3DContainer.cpp
Photogrammetry model
- Camera model
xtrel/Camera.cpp - Projection geometry
xtrel/photogrammetry.cpp - Residual functions
xtrel/ResidualProjectionObjPt.h
Solver construction
- Bundle adjustment
xtrel/BundleAdjustment.cpp - Residual assembly
xtrel/DataInserter.cpp - Parameter address book
xtrel/ParameterAddressBook.cpp - Residual insertion
xtrel/ResidualInserter.cpp
Post-solve analysis
- Covariance analysis
xtrel/CovarianceComputer.cpp - Standard deviations
xtrel/StandardDeviationInserter.cpp - Calibration correlations
xtrel/CameraCalibrationCorrelationAnalyzer.cpp - Reverse distortion
xtrel/ReverseDistortionEstimator.cpp - Covariance matrices
xtrel/CovarianceMatrix.h
Results and checks
- Adjustment report
xtrel/BundleAdjustmentReport.cpp - Calibration certificate
xtrel/CalibrationCertificate.cpp - Ray intersection check
xtrel/RayIntersectionCheck.cpp
Connections 15
- Bundle adjustment → Residual assembly: assembles problem
xtrel/BundleAdjustment.cpp - Bundle adjustment → Covariance analysis: computes covariance
xtrel/BundleAdjustment.cpp - Bundle adjustment → Standard deviations: inserts deviations
xtrel/BundleAdjustment.cpp - Bundle adjustment → Calibration correlations: runs analysis
xtrel/BundleAdjustment.cpp - Bundle adjustment → Residual insertion: inserts residuals
xtrel/BundleAdjustment.cpp - Bundle adjustment → Reverse distortion: estimates distortion
xtrel/BundleAdjustment.cpp - Residual assembly → Residual functions: registers residual blocks
xtrel/DataInserter.cpp - Residual assembly → Parameter address book: records parameters
xtrel/DataInserter.cpp - Covariance analysis → Covariance matrices: produces matrices
- Calibration correlations → Covariance analysis: uses covariance
- Adjustment data → Adjustment settings: contains settings
xtrel/BundleAdjustmentData.h - Adjustment data → Image and camera data: holds image data
xtrel/BundleAdjustmentData.h - Adjustment data → Image and terrain points: holds point data
xtrel/BundleAdjustmentData.h - Adjustment data → Angular surveys: holds surveys
xtrel/BundleAdjustmentData.h - Projection geometry → Camera model: uses camera model