Internal implementation of RANSAC. Please use Ransac or IndexRansac.  
 More...
#include <Ransac.h>
|  | 
| 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 () | 
|  | 
Internal implementation of RANSAC. Please use Ransac or IndexRansac. 
Definition at line 41 of file Ransac.h.
  
  | 
        
          | alvar::RansacImpl::RansacImpl | ( | int | min_params, |  
          |  |  | int | max_params, |  
          |  |  | int | sizeof_param, |  
          |  |  | int | sizeof_model |  
          |  | ) |  |  |  | protected | 
 
 
  
  | 
        
          | alvar::RansacImpl::~RansacImpl | ( |  | ) |  |  | protectedvirtual | 
 
 
  
  | 
        
          | alvar::RansacImpl::RansacImpl | ( | int | min_params, |  
          |  |  | int | max_params, |  
          |  |  | int | sizeof_model |  
          |  | ) |  |  |  | protected | 
 
 
  
  | 
        
          | virtual void alvar::RansacImpl::_doEstimate | ( | void ** | params, |  
          |  |  | int | param_c, |  
          |  |  | void * | model |  
          |  | ) |  |  |  | inlineprotectedvirtual | 
 
 
  
  | 
        
          | virtual void alvar::RansacImpl::_doEstimate | ( | int * | params, |  
          |  |  | int | param_c, |  
          |  |  | void * | model |  
          |  | ) |  |  |  | inlineprotectedvirtual | 
 
 
  
  | 
        
          | virtual bool alvar::RansacImpl::_doSupports | ( | void * | param, |  
          |  |  | void * | model |  
          |  | ) |  |  |  | inlineprotectedvirtual | 
 
 
  
  | 
        
          | virtual bool alvar::RansacImpl::_doSupports | ( | int | param, |  
          |  |  | void * | model |  
          |  | ) |  |  |  | inlineprotectedvirtual | 
 
 
  
  | 
        
          | int alvar::RansacImpl::_estimate | ( | void * | params, |  
          |  |  | int | param_c, |  
          |  |  | int | support_limit, |  
          |  |  | int | max_rounds, |  
          |  |  | void * | model |  
          |  | ) |  |  |  | protected | 
 
 
  
  | 
        
          | int alvar::RansacImpl::_estimate | ( | int | param_c, |  
          |  |  | int | support_limit, |  
          |  |  | int | max_rounds, |  
          |  |  | void * | model |  
          |  | ) |  |  |  | protected | 
 
 
  
  | 
        
          | 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 | 
 
 
      
        
          | int alvar::RansacImpl::estimateRequiredRounds | ( | float | success_propability, | 
        
          |  |  | float | inlier_percentage | 
        
          |  | ) |  |  | 
      
 
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.
 
 
  
  | 
        
          | void* alvar::RansacImpl::hypothesis |  | protected | 
 
 
  
  | 
        
          | int* alvar::RansacImpl::indices |  | protected | 
 
 
  
  | 
        
          | int alvar::RansacImpl::max_params |  | protected | 
 
 
  
  | 
        
          | int alvar::RansacImpl::min_params |  | protected | 
 
 
  
  | 
        
          | void** alvar::RansacImpl::samples |  | protected | 
 
 
  
  | 
        
          | int alvar::RansacImpl::sizeof_model |  | protected | 
 
 
  
  | 
        
          | int alvar::RansacImpl::sizeof_param |  | protected | 
 
 
The documentation for this class was generated from the following files: