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

#include <incremental_mapper.h>

Classes

struct  LocalBundleAdjustmentReport
 
struct  Options
 

Public Member Functions

 IncrementalMapper (const DatabaseCache *database_cache)
 
void BeginReconstruction (Reconstruction *reconstruction)
 
void EndReconstruction (const bool discard)
 
bool FindInitialImagePair (const Options &options, image_t *image_id1, image_t *image_id2)
 
std::vector< image_tFindNextImages (const Options &options)
 
bool RegisterInitialImagePair (const Options &options, const image_t image_id1, const image_t image_id2)
 
bool RegisterNextImage (const Options &options, const image_t image_id)
 
size_t TriangulateImage (const IncrementalTriangulator::Options &tri_options, const image_t image_id)
 
size_t Retriangulate (const IncrementalTriangulator::Options &tri_options)
 
size_t CompleteTracks (const IncrementalTriangulator::Options &tri_options)
 
size_t MergeTracks (const IncrementalTriangulator::Options &tri_options)
 
LocalBundleAdjustmentReport AdjustLocalBundle (const Options &options, const BundleAdjustmentOptions &ba_options, const IncrementalTriangulator::Options &tri_options, const image_t image_id, const std::unordered_set< point3D_t > &point3D_ids)
 
bool AdjustGlobalBundle (const Options &options, const BundleAdjustmentOptions &ba_options)
 
size_t FilterImages (const Options &options)
 
size_t FilterPoints (const Options &options)
 
const ReconstructionGetReconstruction () const
 
size_t NumTotalRegImages () const
 
size_t NumSharedRegImages () const
 
const std::unordered_set< point3D_t > & GetModifiedPoints3D ()
 
void ClearModifiedPoints3D ()
 

Detailed Description

Definition at line 39 of file incremental_mapper.h.

Constructor & Destructor Documentation

◆ IncrementalMapper()

colmap::IncrementalMapper::IncrementalMapper ( const DatabaseCache database_cache)
explicit

Definition at line 99 of file incremental_mapper.cc.

Member Function Documentation

◆ AdjustGlobalBundle()

◆ AdjustLocalBundle()

IncrementalMapper::LocalBundleAdjustmentReport colmap::IncrementalMapper::AdjustLocalBundle ( const Options options,
const BundleAdjustmentOptions ba_options,
const IncrementalTriangulator::Options tri_options,
const image_t  image_id,
const std::unordered_set< point3D_t > &  point3D_ids 
)

◆ BeginReconstruction()

◆ ClearModifiedPoints3D()

void colmap::IncrementalMapper::ClearModifiedPoints3D ( )

Definition at line 821 of file incremental_mapper.cc.

◆ CompleteTracks()

size_t colmap::IncrementalMapper::CompleteTracks ( const IncrementalTriangulator::Options tri_options)

Definition at line 556 of file incremental_mapper.cc.

Referenced by colmap::CompleteAndMergeTracks().

◆ EndReconstruction()

void colmap::IncrementalMapper::EndReconstruction ( const bool  discard)

◆ FilterImages()

◆ FilterPoints()

◆ FindInitialImagePair()

bool colmap::IncrementalMapper::FindInitialImagePair ( const Options options,
image_t image_id1,
image_t image_id2 
)

◆ FindNextImages()

◆ GetModifiedPoints3D()

const std::unordered_set< point3D_t > & colmap::IncrementalMapper::GetModifiedPoints3D ( )

Definition at line 817 of file incremental_mapper.cc.

◆ GetReconstruction()

const Reconstruction & colmap::IncrementalMapper::GetReconstruction ( ) const

Definition at line 804 of file incremental_mapper.cc.

◆ MergeTracks()

size_t colmap::IncrementalMapper::MergeTracks ( const IncrementalTriangulator::Options tri_options)

Definition at line 562 of file incremental_mapper.cc.

Referenced by colmap::CompleteAndMergeTracks().

◆ NumSharedRegImages()

size_t colmap::IncrementalMapper::NumSharedRegImages ( ) const

Definition at line 813 of file incremental_mapper.cc.

◆ NumTotalRegImages()

size_t colmap::IncrementalMapper::NumTotalRegImages ( ) const

Definition at line 809 of file incremental_mapper.cc.

◆ RegisterInitialImagePair()

◆ RegisterNextImage()

bool colmap::IncrementalMapper::RegisterNextImage ( const Options options,
const image_t  image_id 
)

Definition at line 345 of file incremental_mapper.cc.

References colmap::IncrementalMapper::Options::abs_pose_max_error, colmap::IncrementalMapper::Options::abs_pose_min_inlier_ratio, colmap::IncrementalMapper::Options::abs_pose_min_num_inliers, colmap::IncrementalMapper::Options::abs_pose_refine_extra_params, colmap::IncrementalMapper::Options::abs_pose_refine_focal_length, colmap::Reconstruction::AddObservation(), colmap::DatabaseCache::Camera(), colmap::Reconstruction::Camera(), colmap::Image::CameraId(), colmap::IncrementalMapper::Options::Check(), colmap::RANSACOptions::confidence, colmap::DatabaseCache::CorrespondenceGraph(), QtCompat::endl(), colmap::AbsolutePoseEstimationOptions::estimate_focal_length, colmap::EstimateAbsolutePose(), colmap::Reconstruction::ExistsImage(), colmap::CorrespondenceGraph::FindTransitiveCorrespondences(), colmap::Camera::HasBogusParams(), colmap::Point2D::HasPoint3D(), colmap::Camera::HasPriorFocalLength(), image, colmap::Reconstruction::Image(), colmap::Image::IsRegistered(), colmap::RANSACOptions::max_error, colmap::IncrementalMapper::Options::max_extra_param, colmap::AbsolutePoseEstimationOptions::max_focal_length_ratio, colmap::IncrementalMapper::Options::max_focal_length_ratio, colmap::RANSACOptions::max_num_trials, colmap::AbsolutePoseEstimationOptions::min_focal_length_ratio, colmap::IncrementalMapper::Options::min_focal_length_ratio, colmap::RANSACOptions::min_inlier_ratio, colmap::RANSACOptions::min_num_trials, colmap::AbsolutePoseEstimationOptions::num_focal_length_samples, colmap::AbsolutePoseEstimationOptions::num_threads, colmap::IncrementalMapper::Options::num_threads, colmap::Reconstruction::NumRegImages(), colmap::Camera::Params(), colmap::Image::Point2D(), colmap::Reconstruction::Point3D(), colmap::Point2D::Point3DId(), colmap::AbsolutePoseEstimationOptions::ransac_options, colmap::AbsolutePoseRefinementOptions::refine_extra_params, colmap::AbsolutePoseRefinementOptions::refine_focal_length, colmap::RefineAbsolutePose(), colmap::Reconstruction::RegisterImage(), colmap::Camera::SetParams(), colmap::Point2D::XY(), and colmap::Point3D::XYZ().

Referenced by colmap::RunImageRegistrator().

◆ Retriangulate()

size_t colmap::IncrementalMapper::Retriangulate ( const IncrementalTriangulator::Options tri_options)

Definition at line 550 of file incremental_mapper.cc.

◆ TriangulateImage()

size_t colmap::IncrementalMapper::TriangulateImage ( const IncrementalTriangulator::Options tri_options,
const image_t  image_id 
)

Definition at line 543 of file incremental_mapper.cc.

Referenced by colmap::RunPointTriangulator().


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