#include <rransac.h>
Public Member Functions | |
bool | computeModel (int debug=0) |
Compute the actual model and find the inliers. | |
RRANSAC (SACModel *model, double threshold) | |
RRANSAC (Randomized RAndom SAmple Consensus) main constructor. | |
RRANSAC (SACModel *model) | |
RRANSAC (Randomized RAndom SAmple Consensus) main constructor. | |
void | setFractionNrPretest (int nr_pretest) |
Set the maximum number of iterations. | |
virtual | ~RRANSAC () |
Private Attributes | |
int | fraction_nr_pretest_ |
Number of samples to randomly pre-test, in percents. |
Definition at line 41 of file rransac.h.
sample_consensus::RRANSAC::RRANSAC | ( | SACModel * | model | ) |
RRANSAC (Randomized RAndom SAmple Consensus) main constructor.
model | a Sample Consensus model |
Definition at line 59 of file rransac.cpp.
sample_consensus::RRANSAC::RRANSAC | ( | SACModel * | model, | |
double | threshold | |||
) |
RRANSAC (Randomized RAndom SAmple Consensus) main constructor.
model | a Sample Consensus model | |
threshold | distance to model threshold |
Definition at line 41 of file rransac.cpp.
virtual sample_consensus::RRANSAC::~RRANSAC | ( | ) | [inline, virtual] |
bool sample_consensus::RRANSAC::computeModel | ( | int | debug = 0 |
) | [virtual] |
Compute the actual model and find the inliers.
debug | enable/disable on-screen debug information |
Implements sample_consensus::SAC.
Definition at line 66 of file rransac.cpp.
void sample_consensus::RRANSAC::setFractionNrPretest | ( | int | nr_pretest | ) |
Set the maximum number of iterations.
nr_pretest | percentage of points to pre-test |
Definition at line 155 of file rransac.cpp.
int sample_consensus::RRANSAC::fraction_nr_pretest_ [private] |