Public Member Functions | Static Public Member Functions | List of all members
rtabmap::OptimizerCVSBA Class Reference

#include <OptimizerCVSBA.h>

Inheritance diagram for rtabmap::OptimizerCVSBA:
Inheritance graph
[legend]

Public Member Functions

virtual std::map< int, TransformoptimizeBA (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &links, const std::map< int, CameraModel > &models, std::map< int, cv::Point3f > &points3DMap, const std::map< int, std::map< int, FeatureBA > > &wordReferences, std::set< int > *outliers=0)
 
 OptimizerCVSBA (int iterations=Parameters::defaultOptimizerIterations(), bool slam2d=Parameters::defaultRegForce3DoF(), bool covarianceIgnored=Parameters::defaultOptimizerVarianceIgnored())
 
 OptimizerCVSBA (const ParametersMap &parameters)
 
virtual Type type () const
 
virtual ~OptimizerCVSBA ()
 
- Public Member Functions inherited from rtabmap::Optimizer
void computeBACorrespondences (const std::map< int, Transform > &poses, const std::multimap< int, Link > &links, const std::map< int, Signature > &signatures, std::map< int, cv::Point3f > &points3DMap, std::map< int, std::map< int, FeatureBA > > &wordReferences, bool rematchFeatures=false)
 
double epsilon () const
 
void getConnectedGraph (int fromId, const std::map< int, Transform > &posesIn, const std::multimap< int, Link > &linksIn, std::map< int, Transform > &posesOut, std::multimap< int, Link > &linksOut) const
 
float gravitySigma () const
 
bool isCovarianceIgnored () const
 
bool isRobust () const
 
bool isSlam2d () const
 
int iterations () const
 
bool landmarksIgnored () const
 
std::map< int, Transformoptimize (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &constraints, std::list< std::map< int, Transform > > *intermediateGraphes=0, double *finalError=0, int *iterationsDone=0)
 
virtual std::map< int, Transformoptimize (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &constraints, cv::Mat &outputCovariance, std::list< std::map< int, Transform > > *intermediateGraphes=0, double *finalError=0, int *iterationsDone=0)
 
std::map< int, TransformoptimizeBA (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &links, const std::map< int, Signature > &signatures, std::map< int, cv::Point3f > &points3DMap, std::map< int, std::map< int, FeatureBA > > &wordReferences, bool rematchFeatures=false)
 
std::map< int, TransformoptimizeBA (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &links, const std::map< int, Signature > &signatures, bool rematchFeatures=false)
 
Transform optimizeBA (const Link &link, const CameraModel &model, std::map< int, cv::Point3f > &points3DMap, const std::map< int, std::map< int, FeatureBA > > &wordReferences, std::set< int > *outliers=0)
 
std::map< int, TransformoptimizeIncremental (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &constraints, std::list< std::map< int, Transform > > *intermediateGraphes=0, double *finalError=0, int *iterationsDone=0)
 
virtual void parseParameters (const ParametersMap &parameters)
 
bool priorsIgnored () const
 
void setCovarianceIgnored (bool enabled)
 
void setEpsilon (double epsilon)
 
void setGravitySigma (float value)
 
void setIterations (int iterations)
 
void setLandmarksIgnored (bool enabled)
 
void setPriorsIgnored (bool enabled)
 
void setRobust (bool enabled)
 
void setSlam2d (bool enabled)
 
virtual ~Optimizer ()
 

Static Public Member Functions

static bool available ()
 
- Static Public Member Functions inherited from rtabmap::Optimizer
static Optimizercreate (const ParametersMap &parameters)
 
static Optimizercreate (Optimizer::Type type, const ParametersMap &parameters=ParametersMap())
 
static bool isAvailable (Optimizer::Type type)
 

Additional Inherited Members

- Public Types inherited from rtabmap::Optimizer
enum  Type {
  kTypeUndef = -1, kTypeTORO = 0, kTypeG2O = 1, kTypeGTSAM = 2,
  kTypeCeres = 3, kTypeCVSBA = 4
}
 
- Protected Member Functions inherited from rtabmap::Optimizer
 Optimizer (int iterations=Parameters::defaultOptimizerIterations(), bool slam2d=Parameters::defaultRegForce3DoF(), bool covarianceIgnored=Parameters::defaultOptimizerVarianceIgnored(), double epsilon=Parameters::defaultOptimizerEpsilon(), bool robust=Parameters::defaultOptimizerRobust(), bool priorsIgnored=Parameters::defaultOptimizerPriorsIgnored(), bool landmarksIgnored=Parameters::defaultOptimizerLandmarksIgnored(), float gravitySigma=Parameters::defaultOptimizerGravitySigma())
 
 Optimizer (const ParametersMap &parameters)
 

Detailed Description

Definition at line 37 of file OptimizerCVSBA.h.

Constructor & Destructor Documentation

rtabmap::OptimizerCVSBA::OptimizerCVSBA ( int  iterations = Parameters::defaultOptimizerIterations(),
bool  slam2d = Parameters::defaultRegForce3DoF(),
bool  covarianceIgnored = Parameters::defaultOptimizerVarianceIgnored() 
)
inline

Definition at line 43 of file OptimizerCVSBA.h.

rtabmap::OptimizerCVSBA::OptimizerCVSBA ( const ParametersMap parameters)
inline

Definition at line 48 of file OptimizerCVSBA.h.

virtual rtabmap::OptimizerCVSBA::~OptimizerCVSBA ( )
inlinevirtual

Definition at line 50 of file OptimizerCVSBA.h.

Member Function Documentation

bool rtabmap::OptimizerCVSBA::available ( )
static

Definition at line 47 of file OptimizerCVSBA.cpp.

std::map< int, Transform > rtabmap::OptimizerCVSBA::optimizeBA ( int  rootId,
const std::map< int, Transform > &  poses,
const std::multimap< int, Link > &  links,
const std::map< int, CameraModel > &  models,
std::map< int, cv::Point3f > &  points3DMap,
const std::map< int, std::map< int, FeatureBA > > &  wordReferences,
std::set< int > *  outliers = 0 
)
virtual

Reimplemented from rtabmap::Optimizer.

Definition at line 56 of file OptimizerCVSBA.cpp.

virtual Type rtabmap::OptimizerCVSBA::type ( ) const
inlinevirtual

Implements rtabmap::Optimizer.

Definition at line 52 of file OptimizerCVSBA.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09