28 #ifndef OPTIMIZERTORO_H_ 29 #define OPTIMIZERTORO_H_ 40 static bool available();
43 static bool saveGraph(
44 const std::string & fileName,
45 const std::map<int, Transform> & poses,
46 const std::multimap<int, Link> & edgeConstraints);
47 static bool loadGraph(
48 const std::string & fileName,
49 std::map<int, Transform> & poses,
50 std::multimap<int, Link> & edgeConstraints);
54 int iterations = Parameters::defaultOptimizerIterations(),
55 bool slam2d = Parameters::defaultRegForce3DoF(),
56 bool covarianceIgnored = Parameters::defaultOptimizerVarianceIgnored(),
57 double epsilon = Parameters::defaultOptimizerEpsilon()) :
65 virtual std::map<int, Transform> optimize(
67 const std::map<int, Transform> & poses,
68 const std::multimap<int, Link> & edgeConstraints,
69 cv::Mat & outputCovariance,
70 std::list<std::map<int, Transform> > * intermediateGraphes = 0,
71 double * finalError = 0,
72 int * iterationsDone = 0);
std::map< std::string, std::string > ParametersMap
virtual Type type() const
OptimizerTORO(const ParametersMap ¶meters)
OptimizerTORO(int iterations=Parameters::defaultOptimizerIterations(), bool slam2d=Parameters::defaultRegForce3DoF(), bool covarianceIgnored=Parameters::defaultOptimizerVarianceIgnored(), double epsilon=Parameters::defaultOptimizerEpsilon())