sample_consensus::RMSAC Class Reference
#include <rmsac.h>
List of all members.
Public Member Functions |
bool | computeModel (int debug=0) |
| Compute the actual model and find the inliers.
|
| RMSAC (SACModel *model, double threshold) |
| RMSAC (Randomized M-Estimator SAmple Consensus) main constructor.
|
| RMSAC (SACModel *model) |
| RMSAC (M-Estimator SAmple Consensus) main constructor.
|
void | setFractionNrPretest (int nr_pretest) |
| Set the maximum number of iterations.
|
virtual | ~RMSAC () |
Private Attributes |
int | fraction_nr_pretest_ |
| Number of samples to randomly pre-test, in percents.
|
Detailed Description
Definition at line 41 of file rmsac.h.
Constructor & Destructor Documentation
sample_consensus::RMSAC::RMSAC |
( |
SACModel * |
model |
) |
|
RMSAC (M-Estimator SAmple Consensus) main constructor.
- Parameters:
-
| model | a Sample Consensus model |
Definition at line 60 of file rmsac.cpp.
sample_consensus::RMSAC::RMSAC |
( |
SACModel * |
model, |
|
|
double |
threshold | |
|
) |
| | |
RMSAC (Randomized M-Estimator SAmple Consensus) main constructor.
- Parameters:
-
| model | a Sample Consensus model |
| threshold | distance to model threshold |
Definition at line 42 of file rmsac.cpp.
virtual sample_consensus::RMSAC::~RMSAC |
( |
|
) |
[inline, virtual] |
Member Function Documentation
bool sample_consensus::RMSAC::computeModel |
( |
int |
debug = 0 |
) |
[virtual] |
Compute the actual model and find the inliers.
- Parameters:
-
| debug | enable/disable on-screen debug information |
Implements sample_consensus::SAC.
Definition at line 67 of file rmsac.cpp.
void sample_consensus::RMSAC::setFractionNrPretest |
( |
int |
nr_pretest |
) |
|
Set the maximum number of iterations.
- Parameters:
-
| nr_pretest | percentage of points to pre-test |
Definition at line 180 of file rmsac.cpp.
Member Data Documentation
Number of samples to randomly pre-test, in percents.
Definition at line 56 of file rmsac.h.
The documentation for this class was generated from the following files: