Internal implementation of RANSAC. Please use Ransac or IndexRansac.
More...
#include <Ransac.h>
List of all members.
Public Member Functions |
int | estimateRequiredRounds (float success_propability, float inlier_percentage) |
| How many rounds are needed for the Ransac to work.
|
Protected Member Functions |
virtual void | _doEstimate (void **params, int param_c, void *model) |
virtual void | _doEstimate (int *params, int param_c, void *model) |
virtual bool | _doSupports (void *param, void *model) |
virtual bool | _doSupports (int param, void *model) |
int | _estimate (void *params, int param_c, int support_limit, int max_rounds, void *model) |
int | _estimate (int param_c, int support_limit, int max_rounds, void *model) |
int | _refine (void *params, int param_c, int support_limit, int max_rounds, void *model, char *inlier_mask=NULL) |
int | _refine (int param_c, int support_limit, int max_rounds, void *model, char *inlier_mask=NULL) |
| RansacImpl (int min_params, int max_params, int sizeof_param, int sizeof_model) |
| RansacImpl (int min_params, int max_params, int sizeof_model) |
virtual | ~RansacImpl () |
Protected Attributes |
void * | hypothesis |
int * | indices |
int | max_params |
int | min_params |
void ** | samples |
int | sizeof_model |
int | sizeof_param |
Detailed Description
Internal implementation of RANSAC. Please use Ransac or IndexRansac.
Definition at line 41 of file Ransac.h.
Constructor & Destructor Documentation
Member Function Documentation
int alvar::RansacImpl::_refine |
( |
void * |
params, |
|
|
int |
param_c, |
|
|
int |
support_limit, |
|
|
int |
max_rounds, |
|
|
void * |
model, |
|
|
char * |
inlier_mask = NULL |
|
) |
| [protected] |
int alvar::RansacImpl::_refine |
( |
int |
param_c, |
|
|
int |
support_limit, |
|
|
int |
max_rounds, |
|
|
void * |
model, |
|
|
char * |
inlier_mask = NULL |
|
) |
| [protected] |
How many rounds are needed for the Ransac to work.
Computes the required amount of rounds from the estimated inlier percentage and required propability of successfully finding the inlier set.
- Parameters:
-
success_propability | Required success propability, (range 0..1) |
inlier_percentage | Estimated amount of inliers in the parameter set, range(0..1). |
- Returns:
- The required number of rounds that can be used as max_rounds when calling the estimate method.
public methods
Definition at line 247 of file Ransac.cpp.
Member Data Documentation
The documentation for this class was generated from the following files: