30 namespace registration {
50 double edge_prune_threshold = 0.25,
51 double preference_loop_closure = 1.0,
52 int reference_node = -1)
59 : max_correspondence_distance;
61 edge_prune_threshold < 0.0 || edge_prune_threshold > 1.0
63 : edge_prune_threshold;
65 preference_loop_closure < 0.0 ? 1.0 : preference_loop_closure;
103 int max_iteration = 100,
104 double min_relative_increment = 1e-6,
105 double min_relative_residual_increment = 1e-6,
106 double min_right_term = 1e-6,
107 double min_residual = 1e-6,
108 int max_iteration_lm = 20,
109 double upper_scale_factor = 2. / 3.,
110 double lower_scale_factor = 1. / 3.)
111 : max_iteration_(max_iteration),
112 min_relative_increment_(min_relative_increment),
113 min_relative_residual_increment_(min_relative_residual_increment),
114 min_right_term_(min_right_term),
115 min_residual_(min_residual),
116 max_iteration_lm_(max_iteration_lm),
117 upper_scale_factor_(upper_scale_factor),
118 lower_scale_factor_(lower_scale_factor) {
119 upper_scale_factor_ =
120 upper_scale_factor < 0.0 || upper_scale_factor > 1.0
122 : upper_scale_factor;
123 lower_scale_factor_ =
124 lower_scale_factor < 0.0 || lower_scale_factor > 1.0
126 : lower_scale_factor;
int max_iteration_lm_
Maximum iteration number for Levenberg Marquardt method.
Definition: GlobalOptimizationConvergenceCriteria.h:148
GlobalOptimizationOption(double max_correspondence_distance=0.075, double edge_prune_threshold=0.25, double preference_loop_closure=1.0, int reference_node=-1)
Parameterized Constructor.
Definition: GlobalOptimizationConvergenceCriteria.h:49
Convergence criteria of GlobalOptimization.
Definition: GlobalOptimizationConvergenceCriteria.h:90
double preference_loop_closure_
Definition: GlobalOptimizationConvergenceCriteria.h:82
double min_right_term_
Minimum right term value.
Definition: GlobalOptimizationConvergenceCriteria.h:141
double min_relative_increment_
Minimum relative increments.
Definition: GlobalOptimizationConvergenceCriteria.h:137
double lower_scale_factor_
Lower scale factor value.
Definition: GlobalOptimizationConvergenceCriteria.h:156
double edge_prune_threshold_
Definition: GlobalOptimizationConvergenceCriteria.h:77
double upper_scale_factor_
Upper scale factor value.
Definition: GlobalOptimizationConvergenceCriteria.h:154
int reference_node_
The pose of this node is unchanged after optimization.
Definition: GlobalOptimizationConvergenceCriteria.h:84
Option for GlobalOptimization.
Definition: GlobalOptimizationConvergenceCriteria.h:35
GlobalOptimizationConvergenceCriteria(int max_iteration=100, double min_relative_increment=1e-6, double min_relative_residual_increment=1e-6, double min_right_term=1e-6, double min_residual=1e-6, int max_iteration_lm=20, double upper_scale_factor=2./3., double lower_scale_factor=1./3.)
Parameterized Constructor.
Definition: GlobalOptimizationConvergenceCriteria.h:102
Definition: Open3DViewer.h:29
int max_iteration_
Maximum iteration number for iterative optimization module.
Definition: GlobalOptimizationConvergenceCriteria.h:132
double min_relative_residual_increment_
Minimum relative residual increments.
Definition: GlobalOptimizationConvergenceCriteria.h:139
~GlobalOptimizationConvergenceCriteria()
Definition: GlobalOptimizationConvergenceCriteria.h:128
~GlobalOptimizationOption()
Definition: GlobalOptimizationConvergenceCriteria.h:67
double min_residual_
Minimum residual value.
Definition: GlobalOptimizationConvergenceCriteria.h:143
double max_correspondence_distance_
Definition: GlobalOptimizationConvergenceCriteria.h:74