ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
RigidOptimizer.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <Image.h>
11 #include <RGBDImage.h>
12 #include <ecvMesh.h>
13 
14 #include <memory>
15 #include <vector>
16 
18 
19 namespace cloudViewer {
20 namespace pipelines {
21 namespace color_map {
22 
25  int maximum_iteration_ = 300;
26 
32 
38 
45 
52 
59 
64 
68  std::string debug_output_dir_ = "";
69 };
70 
71 std::pair<ccMesh, camera::PinholeCameraTrajectory> RunRigidOptimizer(
72  const ccMesh& mesh,
73  const std::vector<geometry::RGBDImage>& images_rgbd,
74  const camera::PinholeCameraTrajectory& camera_trajectory,
75  const RigidOptimizerOption& option);
76 
77 } // namespace color_map
78 } // namespace pipelines
79 } // namespace cloudViewer
Triangular mesh.
Definition: ecvMesh.h:35
std::pair< ccMesh, camera::PinholeCameraTrajectory > RunRigidOptimizer(const ccMesh &mesh, const std::vector< geometry::RGBDImage > &images_rgbd, const camera::PinholeCameraTrajectory &camera_trajectory, const RigidOptimizerOption &option)
Generic file read and write utility for python interface.
int maximum_iteration_
Number of iterations for optimization steps.