Searched refs:bal_problem (Results 1 - 2 of 2) sorted by relevance

/external/ceres-solver/examples/
H A Dbundle_adjuster.cc61 #include "bal_problem.h"
141 void SetOrdering(BALProblem* bal_problem, Solver::Options* options) { argument
142 const int num_points = bal_problem->num_points();
143 const int point_block_size = bal_problem->point_block_size();
144 double* points = bal_problem->mutable_points();
146 const int num_cameras = bal_problem->num_cameras();
147 const int camera_block_size = bal_problem->camera_block_size();
148 double* cameras = bal_problem->mutable_cameras();
243 void SetSolverOptionsFromFlags(BALProblem* bal_problem, argument
247 SetOrdering(bal_problem, option
250 BuildProblem(BALProblem* bal_problem, Problem* problem) argument
[all...]
H A Dsimple_bundle_adjuster.cc178 std::cerr << "usage: simple_bundle_adjuster <bal_problem>\n";
182 BALProblem bal_problem; local
183 if (!bal_problem.LoadFile(argv[1])) {
188 const double* observations = bal_problem.observations();
193 for (int i = 0; i < bal_problem.num_observations(); ++i) {
203 bal_problem.mutable_camera_for_observation(i),
204 bal_problem.mutable_point_for_observation(i));

Completed in 183 milliseconds