41 #ifndef OPENGV_SAC_SAMPLECONSENSUS_HPP_ 42 #define OPENGV_SAC_SAMPLECONSENSUS_HPP_ 60 template<
typename PROBLEM_T>
64 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
68 typedef typename problem_t::model_t
model_t;
79 int maxIterations = 1000,
80 double threshold = 1.0,
81 double probability = 0.99 );
93 int debug_verbosity_level = 0 ) = 0;
119 #include "implementation/SampleConsensus.hpp" std::vector< int > model_
Definition: SampleConsensus.hpp:109
double threshold_
Definition: SampleConsensus.hpp:103
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef PROBLEM_T problem_t
Definition: SampleConsensus.hpp:66
std::shared_ptr< PROBLEM_T > sac_model_
Definition: SampleConsensus.hpp:113
int max_iterations_
Definition: SampleConsensus.hpp:99
model_t model_coefficients_
Definition: SampleConsensus.hpp:107
int iterations_
Definition: SampleConsensus.hpp:101
Definition: SampleConsensus.hpp:61
virtual ~SampleConsensus()
Destructor.
double probability_
Definition: SampleConsensus.hpp:105
SampleConsensus(int maxIterations=1000, double threshold=1.0, double probability=0.99)
Constructor.
virtual bool computeModel(int debug_verbosity_level=0)=0
Fit the model to the data.
problem_t::model_t model_t
Definition: SampleConsensus.hpp:68
std::vector< int > inliers_
Definition: SampleConsensus.hpp:111