40 #include <pcl_cuda/sample_consensus/sac.h>
41 #include <pcl_cuda/sample_consensus/sac_model.h>
46 template <
template <
typename>
class Storage>
49 using SampleConsensus<Storage>::max_iterations_;
50 using SampleConsensus<Storage>::threshold_;
51 using SampleConsensus<Storage>::iterations_;
52 using SampleConsensus<Storage>::sac_model_;
53 using SampleConsensus<Storage>::model_;
54 using SampleConsensus<Storage>::model_coefficients_;
55 using SampleConsensus<Storage>::inliers_;
56 using SampleConsensus<Storage>::inliers_stencil_;
57 using SampleConsensus<Storage>::probability_;
59 using SampleConsensusModelPtr =
typename SampleConsensusModel<Storage>::Ptr;
60 using Coefficients =
typename SampleConsensusModel<Storage>::Coefficients;
62 using Hypotheses =
typename SampleConsensusModel<Storage>::Hypotheses;
69 SampleConsensus<Storage> (model)
72 max_iterations_ = 10000;
80 SampleConsensus<Storage> (model, threshold)
83 max_iterations_ = 10000;
bool computeModel(int debug_verbosity_level=0)
Compute the actual model and find the inliers.
MEstimatorSampleConsensus(const SampleConsensusModelPtr &model, float threshold)
RANSAC (RAndom SAmple Consensus) main constructor.
MEstimatorSampleConsensus(const SampleConsensusModelPtr &model)
MEstimatorSampleConsensus main constructor.
IndicesAllocator<> Indices
Type used for indices in PCL.