Public Types | Public Member Functions | Private Attributes | List of all members
swri_math_util::RansacBatch< Model > Class Template Reference

#include <ransac.h>

Public Types

typedef Model::T DataType
 
typedef Model::M ModelType
 

Public Member Functions

ModelType FitModel (const DataType &data, double max_error, double confidence, int32_t max_iterations, int32_t batch_size, std::vector< uint32_t > &inliers, int32_t &iterations)
 
 RansacBatch (RandomGeneratorPtr rng=RandomGeneratorPtr())
 

Private Attributes

RandomGeneratorPtr rng_
 

Detailed Description

template<class Model>
class swri_math_util::RansacBatch< Model >

Definition at line 123 of file ransac.h.

Member Typedef Documentation

◆ DataType

template<class Model >
typedef Model::T swri_math_util::RansacBatch< Model >::DataType

Definition at line 127 of file ransac.h.

◆ ModelType

template<class Model >
typedef Model::M swri_math_util::RansacBatch< Model >::ModelType

Definition at line 126 of file ransac.h.

Constructor & Destructor Documentation

◆ RansacBatch()

template<class Model >
swri_math_util::RansacBatch< Model >::RansacBatch ( RandomGeneratorPtr  rng = RandomGeneratorPtr())
inlineexplicit

Definition at line 129 of file ransac.h.

Member Function Documentation

◆ FitModel()

template<class Model >
ModelType swri_math_util::RansacBatch< Model >::FitModel ( const DataType data,
double  max_error,
double  confidence,
int32_t  max_iterations,
int32_t  batch_size,
std::vector< uint32_t > &  inliers,
int32_t &  iterations 
)
inline

Definition at line 131 of file ransac.h.

Member Data Documentation

◆ rng_

template<class Model >
RandomGeneratorPtr swri_math_util::RansacBatch< Model >::rng_
private

Definition at line 203 of file ransac.h.


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


swri_math_util
Author(s): Marc Alban
autogenerated on Sat Jan 21 2023 03:13:11