44 #include <pcl/sample_consensus/sac.h> 45 #include <pcl/sample_consensus/sac_model.h> 56 template <
typename Po
intT>
62 using Ptr = shared_ptr<RandomizedMEstimatorSampleConsensus<PointT> >;
63 using ConstPtr = shared_ptr<const RandomizedMEstimatorSampleConsensus<PointT> >;
79 , fraction_nr_pretest_ (10.0)
91 , fraction_nr_pretest_ (10.0)
115 double fraction_nr_pretest_;
119 #ifdef PCL_NO_PRECOMPILE 120 #include <pcl/sample_consensus/impl/rmsac.hpp> double getFractionNrPretest() const
Get the percentage of points to pre-test.
RandomizedMEstimatorSampleConsensus represents an implementation of the RMSAC (Randomized M-estimator...
shared_ptr< const RandomizedMEstimatorSampleConsensus< PointT > > ConstPtr
void setFractionNrPretest(double nr_pretest)
Set the percentage of points to pre-test.
RandomizedMEstimatorSampleConsensus(const SampleConsensusModelPtr &model)
RMSAC (Randomized M-estimator SAmple Consensus) main constructor.
RandomizedMEstimatorSampleConsensus(const SampleConsensusModelPtr &model, double threshold)
RMSAC (Randomized M-estimator SAmple Consensus) main constructor.
bool computeModel(int debug_verbosity_level=0) override
Compute the actual model and find the inliers.
shared_ptr< RandomizedMEstimatorSampleConsensus< PointT > > Ptr
A point structure representing Euclidean xyz coordinates, and the RGB color.
shared_ptr< SampleConsensusModel< PointT > > Ptr
int max_iterations_
Maximum number of iterations before giving up.
SampleConsensus represents the base class.