ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
colmap::BundleAdjuster Class Reference

#include <bundle_adjustment.h>

Inheritance diagram for colmap::BundleAdjuster:
Collaboration diagram for colmap::BundleAdjuster:

Public Member Functions

 BundleAdjuster (const BundleAdjustmentOptions &options, const BundleAdjustmentConfig &config)
 
bool Solve (Reconstruction *reconstruction)
 
const ceres::Solver::Summary & Summary () const
 

Protected Member Functions

void ParameterizeCameras (Reconstruction *reconstruction)
 
void ParameterizePoints (Reconstruction *reconstruction)
 

Protected Attributes

const BundleAdjustmentOptions options_
 
BundleAdjustmentConfig config_
 
std::unique_ptr< ceres::Problem > problem_
 
ceres::Solver::Summary summary_
 
std::unordered_set< camera_tcamera_ids_
 
std::unordered_map< point3D_t, size_t > point3D_num_observations_
 

Detailed Description

Definition at line 172 of file bundle_adjustment.h.

Constructor & Destructor Documentation

◆ BundleAdjuster()

colmap::BundleAdjuster::BundleAdjuster ( const BundleAdjustmentOptions options,
const BundleAdjustmentConfig config 
)

Definition at line 366 of file bundle_adjustment.cc.

Member Function Documentation

◆ ParameterizeCameras()

◆ ParameterizePoints()

◆ Solve()

◆ Summary()

const ceres::Solver::Summary & colmap::BundleAdjuster::Summary ( ) const

Definition at line 404 of file bundle_adjustment.cc.

References summary_.

Referenced by colmap::IncrementalMapper::AdjustLocalBundle(), and BOOST_AUTO_TEST_CASE().

Member Data Documentation

◆ camera_ids_

std::unordered_set<camera_t> colmap::BundleAdjuster::camera_ids_
protected

Definition at line 203 of file bundle_adjustment.h.

Referenced by ParameterizeCameras().

◆ config_

BundleAdjustmentConfig colmap::BundleAdjuster::config_
protected

◆ options_

const BundleAdjustmentOptions colmap::BundleAdjuster::options_
protected

◆ point3D_num_observations_

std::unordered_map<point3D_t, size_t> colmap::BundleAdjuster::point3D_num_observations_
protected

Definition at line 204 of file bundle_adjustment.h.

Referenced by ParameterizePoints().

◆ problem_

std::unique_ptr<ceres::Problem> colmap::BundleAdjuster::problem_
protected

◆ summary_

ceres::Solver::Summary colmap::BundleAdjuster::summary_
protected

Definition at line 202 of file bundle_adjustment.h.

Referenced by Solve(), colmap::RigBundleAdjuster::Solve(), and Summary().


The documentation for this class was generated from the following files: