87 config_file.
read_string(
"global",
"path_prev_pbmaps",
"",
false);
91 config_file.
read_bool(
"global",
"use_completeness",
true);
93 config_file.
read_int(
"global",
"min_planes_recognition", 4);
102 config_file.
read_float(
"unary",
"color_threshold", 0.09);
104 config_file.
read_float(
"unary",
"intensity_threshold", 175.0);
111 config_file.
read_float(
"unary",
"area_full_threshold", 1.6);
114 config_file.
read_float(
"unary",
"area_half_threshold", 2.0);
117 config_file.
read_float(
"unary",
"elongation_threshold", 2.9);
122 config_file.
read_float(
"binary",
"dist_threshold", 2.0);
125 config_file.
read_float(
"binary",
"angle_threshold", 7.0);
127 config_file.
read_float(
"binary",
"height_threshold", 0.2);
129 config_file.
read_float(
"binary",
"height_threshold_parallel", 0.2);
131 config_file.
read_float(
"binary",
"cos_angle_parallel", 0.985);
140 cout <<
"Unary thresholds:\n";
141 cout <<
"dist_d " <<
dist_d << endl;
142 cout <<
"angle " <<
angle << endl;
149 cout <<
"Binary thresholds:\n";
151 cout <<
"angle " <<
angle << endl;
std::string path_prev_pbmaps
void load_params(const std::string &config_file_name)
std::string read_string(const std::string §ion, const std::string &name, const std::string &defaultValue, bool failIfNotFound=false) const
float area_half_threshold_inv
unsigned min_planes_recognition
float intensity_threshold
This class allows loading and storing values and vectors of different types from ".ini" files easily.
float read_float(const std::string §ion, const std::string &name, float defaultValue, bool failIfNotFound=false) const
int read_int(const std::string §ion, const std::string &name, int defaultValue, bool failIfNotFound=false) const
float area_full_threshold_inv
float area_full_threshold
float height_threshold_parallel
GLsizei const GLchar ** string
float elongation_threshold
bool read_bool(const std::string §ion, const std::string &name, bool defaultValue, bool failIfNotFound=false) const
float elongation_threshold_inv
A class used to define the heuristic parameters and thresholds used to match sets of planes...
#define ASSERT_FILE_EXISTS_(FIL)
float area_half_threshold