28 #ifndef OPTIMIZERCERES_H_ 29 #define OPTIMIZERCERES_H_ 40 static bool available();
44 int iterations = Parameters::defaultOptimizerIterations(),
45 bool slam2d = Parameters::defaultRegForce3DoF(),
46 bool covarianceIgnored = Parameters::defaultOptimizerVarianceIgnored(),
47 double epsilon = Parameters::defaultOptimizerEpsilon()) :
55 virtual std::map<int, Transform> optimize(
57 const std::map<int, Transform> & poses,
58 const std::multimap<int, Link> & edgeConstraints,
59 cv::Mat & outputCovariance,
60 std::list<std::map<int, Transform> > * intermediateGraphes = 0,
61 double * finalError = 0,
62 int * iterationsDone = 0);
64 virtual std::map<int, Transform> optimizeBA(
66 const std::map<int, Transform> & poses,
67 const std::multimap<int, Link> & links,
68 const std::map<int, CameraModel> & models,
69 std::map<int, cv::Point3f> & points3DMap,
70 const std::map<
int, std::map<int, FeatureBA> > & wordReferences,
71 std::set<int> * outliers = 0);
OptimizerCeres(int iterations=Parameters::defaultOptimizerIterations(), bool slam2d=Parameters::defaultRegForce3DoF(), bool covarianceIgnored=Parameters::defaultOptimizerVarianceIgnored(), double epsilon=Parameters::defaultOptimizerEpsilon())
virtual Type type() const
std::map< std::string, std::string > ParametersMap
OptimizerCeres(const ParametersMap ¶meters)
virtual ~OptimizerCeres()