Public Member Functions

pcl::RandomSampleConsensus< PointT > Class Template Reference
[Module sample_consensus]

RandomSampleConsensus represents an implementation of the RANSAC (RAndom SAmple Consensus) algorithm, as described in: "Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography", Martin A. More...

#include <pcl/sample_consensus/ransac.h>

Inheritance diagram for pcl::RandomSampleConsensus< PointT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::RandomSampleConsensus< PointT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RandomSampleConsensus (const SampleConsensusModelPtr &model)
 RANSAC (RAndom SAmple Consensus) main constructor.
 RandomSampleConsensus (const SampleConsensusModelPtr &model, double threshold)
 RANSAC (RAndom SAmple Consensus) main constructor.
bool computeModel (int debug_verbosity_level=0)
 Compute the actual model and find the inliers.

Detailed Description

template<typename PointT>
class pcl::RandomSampleConsensus< PointT >

RandomSampleConsensus represents an implementation of the RANSAC (RAndom SAmple Consensus) algorithm, as described in: "Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography", Martin A.

Fischler and Robert C. Bolles, Comm. Of the ACM 24: 381–395, June 1981.

Author:
Radu Bogdan Rusu

Definition at line 54 of file ransac.h.


Constructor & Destructor Documentation

template<typename PointT>
pcl::RandomSampleConsensus< PointT >::RandomSampleConsensus ( const SampleConsensusModelPtr &  model  )  [inline]

RANSAC (RAndom SAmple Consensus) main constructor.

Parameters:
model a Sample Consensus model

Definition at line 71 of file ransac.h.

template<typename PointT>
pcl::RandomSampleConsensus< PointT >::RandomSampleConsensus ( const SampleConsensusModelPtr &  model,
double  threshold 
) [inline]

RANSAC (RAndom SAmple Consensus) main constructor.

Parameters:
model a Sample Consensus model
threshold distance to model threshold

Definition at line 81 of file ransac.h.


Member Function Documentation

template<typename PointT >
bool pcl::RandomSampleConsensus< PointT >::computeModel ( int  debug_verbosity_level = 0  )  [virtual]

Compute the actual model and find the inliers.

Parameters:
debug_verbosity_level enable/disable on-screen debug information and set the verbosity level

Implements pcl::SampleConsensus< PointT >.

Definition at line 45 of file ransac.hpp.


The documentation for this class was generated from the following files: