MCPcopy Create free account
hub / github.com/PoseLib/PoseLib / ProblemOptions

Class ProblemOptions

benchmark/problem_generator.h:89–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87};
88
89struct ProblemOptions {
90 double min_depth_ = 0.1;
91 double max_depth_ = 10.0;
92 double camera_fov_ = 70.0;
93 int n_point_point_ = 0;
94 int n_point_line_ = 0;
95 int n_line_point_ = 0;
96 int n_line_line_ = 0;
97 bool upright_ = false;
98 bool planar_ = false;
99 bool generalized_ = false;
100 bool generalized_duplicate_obs_ = false;
101 int generalized_first_cam_obs_ = 0; // how many of the points should from the first camera (relpose only)
102 bool unknown_scale_ = false;
103 bool unknown_focal_ = false;
104 bool radial_lines_ = false;
105 double min_scale_ = 0.1;
106 double max_scale_ = 10.0;
107 double min_focal_ = 100.0;
108 double max_focal_ = 1000.0;
109 std::string additional_name_ = "";
110};
111
112void set_random_pose(CameraPose &pose, bool upright, bool planar);
113

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected