67 const float voxel_size = 0.05,
68 const float distance_threshold = 0.07,
69 const float fitness_threshold = 0.3,
70 const float regularizer_weight = 1,
72 const std::string slac_folder =
"") {
73 if (fitness_threshold < 0) {
76 if (distance_threshold < 0) {
104 const int debug_start_node_idx = 0) {
105 if (debug_start_node_idx < 0) {
118 if (debug_start_node_idx < 0) {
137 const std::vector<std::string>& fnames_processed,
139 const SLACOptimizerParams&
params = SLACOptimizerParams(),
140 const SLACDebugOption& debug_option = SLACDebugOption());
153 const std::vector<std::string>& fragment_filenames,
155 const SLACOptimizerParams&
params = SLACOptimizerParams(),
156 const SLACDebugOption& debug_option = SLACDebugOption());
167 const std::vector<std::string>& fragment_filenames,
169 const SLACOptimizerParams&
params = SLACOptimizerParams(),
170 const SLACDebugOption& debug_option = SLACDebugOption());
filament::Texture::InternalFormat format
cmdLineReadable * params[]
Data structure defining the pose graph.
static const int max_iterations
void SaveCorrespondencesForPointClouds(const std::vector< std::string > &fnames_processed, const PoseGraph &pose_graph, const SLACOptimizerParams ¶ms, const SLACDebugOption &debug_option)
Read pose graph containing loop closures and odometry to compute putative correspondences between pai...
PoseGraph RunRigidOptimizerForFragments(const std::vector< std::string > &fnames, const PoseGraph &pose_graph, const SLACOptimizerParams ¶ms, const SLACDebugOption &debug_option)
Extended ICP to simultaneously align multiple point clouds with dense pairwise point-to-plane distanc...
cloudViewer::pipelines::registration::PoseGraph PoseGraph
std::pair< PoseGraph, ControlGrid > RunSLACOptimizerForFragments(const std::vector< std::string > &fnames, const PoseGraph &pose_graph, const SLACOptimizerParams ¶ms, const SLACDebugOption &debug_option)
Simultaneous Localization and Calibration: Self-Calibration of Consumer Depth Cameras,...
Generic file read and write utility for python interface.
int debug_start_node_idx_
SLACDebugOption(const bool debug=false, const int debug_start_node_idx=0)
SLACDebugOption(const int debug_start_node_idx)
int max_iterations_
Number of iterations.
core::Device device_
Device to use.
float distance_threshold_
Distance threshold to filter inconsistent correspondences.
float regularizer_weight_
Weight of the regularizer.
std::string GetSubfolderName() const
std::string slac_folder_
Relative directory to store SLAC results in the dataset folder.
float fitness_threshold_
Fitness threshold to filter inconsistent pairs.
SLACOptimizerParams(const int max_iterations=5, const float voxel_size=0.05, const float distance_threshold=0.07, const float fitness_threshold=0.3, const float regularizer_weight=1, const core::Device device=core::Device("CPU:0"), const std::string slac_folder="")