Point Cloud Library (PCL)
1.7.0
|
RandomizedRandomSampleConsensus represents an implementation of the RRANSAC (Randomized RAndom SAmple Consensus), as described in "Randomized RANSAC with Td,d test", O. More...
#include <pcl/sample_consensus/rransac.h>
Public Types | |
typedef boost::shared_ptr < RandomizedRandomSampleConsensus > | Ptr |
typedef boost::shared_ptr < const RandomizedRandomSampleConsensus > | ConstPtr |
Public Member Functions | |
RandomizedRandomSampleConsensus (const SampleConsensusModelPtr &model) | |
RANSAC (Randomized RAndom SAmple Consensus) main constructor. | |
RandomizedRandomSampleConsensus (const SampleConsensusModelPtr &model, double threshold) | |
RRANSAC (RAndom SAmple Consensus) main constructor. | |
bool | computeModel (int debug_verbosity_level=0) |
Compute the actual model and find the inliers. | |
void | setFractionNrPretest (double nr_pretest) |
Set the percentage of points to pre-test. | |
double | getFractionNrPretest () |
Get the percentage of points to pre-test. |
RandomizedRandomSampleConsensus represents an implementation of the RRANSAC (Randomized RAndom SAmple Consensus), as described in "Randomized RANSAC with Td,d test", O.
Chum and J. Matas, Proc. British Machine Vision Conf. (BMVC '02), vol. 2, BMVA, pp. 448-457, 2002.
typedef boost::shared_ptr<const RandomizedRandomSampleConsensus> pcl::RandomizedRandomSampleConsensus< PointT >::ConstPtr |
Reimplemented from pcl::SampleConsensus< PointT >.
typedef boost::shared_ptr<RandomizedRandomSampleConsensus> pcl::RandomizedRandomSampleConsensus< PointT >::Ptr |
Reimplemented from pcl::SampleConsensus< PointT >.
pcl::RandomizedRandomSampleConsensus< PointT >::RandomizedRandomSampleConsensus | ( | const SampleConsensusModelPtr & | model | ) | [inline] |
RANSAC (Randomized RAndom SAmple Consensus) main constructor.
[in] | model | a Sample Consensus model |
Definition at line 77 of file rransac.h.
References pcl::SampleConsensus< PointT >::max_iterations_.
pcl::RandomizedRandomSampleConsensus< PointT >::RandomizedRandomSampleConsensus | ( | const SampleConsensusModelPtr & | model, |
double | threshold | ||
) | [inline] |
RRANSAC (RAndom SAmple Consensus) main constructor.
[in] | model | a Sample Consensus model |
[in] | threshold | distance to model threshold |
Definition at line 89 of file rransac.h.
References pcl::SampleConsensus< PointT >::max_iterations_.
bool pcl::RandomizedRandomSampleConsensus< PointT >::computeModel | ( | int | debug_verbosity_level = 0 | ) | [virtual] |
Compute the actual model and find the inliers.
[in] | debug_verbosity_level | enable/disable on-screen debug information and set the verbosity level |
Implements pcl::SampleConsensus< PointT >.
Definition at line 48 of file rransac.hpp.
double pcl::RandomizedRandomSampleConsensus< PointT >::getFractionNrPretest | ( | ) | [inline] |
void pcl::RandomizedRandomSampleConsensus< PointT >::setFractionNrPretest | ( | double | nr_pretest | ) | [inline] |