43 #ifndef OPENGV_SAC_MULTISAMPLECONSENSUS_HPP_ 44 #define OPENGV_SAC_MULTISAMPLECONSENSUS_HPP_ 61 template<
typename PROBLEM_T>
68 typedef typename problem_t::model_t
model_t;
79 int maxIterations = 1000,
80 double threshold = 1.0,
81 double probability = 0.99 );
92 virtual bool computeModel(
int debug_verbosity_level = 0 ) = 0;
118 #include "implementation/MultiSampleConsensus.hpp" virtual bool computeModel(int debug_verbosity_level=0)=0
Fit the model to the data.
Definition: MultiSampleConsensus.hpp:62
double probability_
Definition: MultiSampleConsensus.hpp:104
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
virtual ~MultiSampleConsensus()
Destructor.
PROBLEM_T problem_t
Definition: MultiSampleConsensus.hpp:66
std::vector< std::vector< int > > model_
Definition: MultiSampleConsensus.hpp:108
std::vector< std::vector< int > > inliers_
Definition: MultiSampleConsensus.hpp:110
problem_t::model_t model_t
Definition: MultiSampleConsensus.hpp:68
int iterations_
Definition: MultiSampleConsensus.hpp:100
int max_iterations_
Definition: MultiSampleConsensus.hpp:98
MultiSampleConsensus(int maxIterations=1000, double threshold=1.0, double probability=0.99)
Constructor.
double threshold_
Definition: MultiSampleConsensus.hpp:102
model_t model_coefficients_
Definition: MultiSampleConsensus.hpp:106
std::shared_ptr< PROBLEM_T > sac_model_
Definition: MultiSampleConsensus.hpp:112