OpenGV
A library for solving calibrated central and non-central geometric vision problems
opengv::sac::Lmeds< PROBLEM_T > Class Template Reference

#include <Lmeds.hpp>

Inheritance diagram for opengv::sac::Lmeds< PROBLEM_T >:
opengv::sac::SampleConsensus< PROBLEM_T >

Public Types

typedef PROBLEM_T problem_t
 
typedef problem_t::model_t model_t
 
- Public Types inherited from opengv::sac::SampleConsensus< PROBLEM_T >
typedef problem_t::model_t model_t
 

Public Member Functions

 Lmeds (int maxIterations=1000, double threshold=1.0, double probability=0.99)
 Constructor.
 
virtual ~Lmeds ()
 Destructor.
 
bool computeModel (int debug_verbosity_level=0)
 Fit the model. More...
 
- Public Member Functions inherited from opengv::sac::SampleConsensus< PROBLEM_T >
 SampleConsensus (int maxIterations=1000, double threshold=1.0, double probability=0.99)
 Constructor. More...
 
virtual ~SampleConsensus ()
 Destructor.
 
virtual bool computeModel (int debug_verbosity_level=0)=0
 Fit the model to the data. More...
 

Additional Inherited Members

- Public Attributes inherited from opengv::sac::SampleConsensus< PROBLEM_T >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef PROBLEM_T problem_t
 
int max_iterations_
 
int iterations_
 
double threshold_
 
double probability_
 
model_t model_coefficients_
 
std::vector< int > model_
 
std::vector< int > inliers_
 
std::shared_ptr< PROBLEM_T > sac_model_
 

Detailed Description

template<typename PROBLEM_T>
class opengv::sac::Lmeds< PROBLEM_T >

The LMedS (Least Median of Squares) sample consensus method

Member Typedef Documentation

◆ model_t

template<typename PROBLEM_T >
typedef problem_t::model_t opengv::sac::Lmeds< PROBLEM_T >::model_t

The model we trying to fit

◆ problem_t

template<typename PROBLEM_T >
typedef PROBLEM_T opengv::sac::Lmeds< PROBLEM_T >::problem_t

Member Function Documentation

◆ computeModel()

template<typename PROBLEM_T >
bool opengv::sac::Lmeds< PROBLEM_T >::computeModel ( int  debug_verbosity_level = 0)
virtual

Fit the model.

Implements opengv::sac::SampleConsensus< PROBLEM_T >.


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