Public Member Functions | Public Attributes | List of all members
cv3::RANSACPointSetRegistrator Class Reference
Inheritance diagram for cv3::RANSACPointSetRegistrator:
Inheritance graph
[legend]

Public Member Functions

int findInliers (const Mat &m1, const Mat &m2, const Mat &model, Mat &err, Mat &mask, double thresh) const
 
bool getSubset (const Mat &m1, const Mat &m2, Mat &ms1, Mat &ms2, RNG &rng, int maxAttempts=1000) const
 
 RANSACPointSetRegistrator (const Ptr< PointSetRegistrator::Callback > &_cb=Ptr< PointSetRegistrator::Callback >(), int _modelPoints=0, double _threshold=0, double _confidence=0.99, int _maxIters=1000)
 
bool run (InputArray _m1, InputArray _m2, OutputArray _model, OutputArray _mask) const
 
void setCallback (const Ptr< PointSetRegistrator::Callback > &_cb)
 
- Public Member Functions inherited from cv3::PointSetRegistrator
virtual bool run (cv::InputArray m1, cv::InputArray m2, cv::OutputArray model, cv::OutputArray mask) const =0
 
virtual void setCallback (const cv::Ptr< PointSetRegistrator::Callback > &cb)=0
 

Public Attributes

Ptr< PointSetRegistrator::Callbackcb
 
bool checkPartialSubsets
 
double confidence
 
int maxIters
 
int modelPoints
 
double threshold
 

Detailed Description

Definition at line 235 of file solvepnp.cpp.

Constructor & Destructor Documentation

◆ RANSACPointSetRegistrator()

cv3::RANSACPointSetRegistrator::RANSACPointSetRegistrator ( const Ptr< PointSetRegistrator::Callback > &  _cb = Ptr<PointSetRegistrator::Callback>(),
int  _modelPoints = 0,
double  _threshold = 0,
double  _confidence = 0.99,
int  _maxIters = 1000 
)
inline

Definition at line 238 of file solvepnp.cpp.

Member Function Documentation

◆ findInliers()

int cv3::RANSACPointSetRegistrator::findInliers ( const Mat &  m1,
const Mat &  m2,
const Mat &  model,
Mat &  err,
Mat &  mask,
double  thresh 
) const
inline

Definition at line 245 of file solvepnp.cpp.

◆ getSubset()

bool cv3::RANSACPointSetRegistrator::getSubset ( const Mat &  m1,
const Mat &  m2,
Mat &  ms1,
Mat &  ms2,
RNG &  rng,
int  maxAttempts = 1000 
) const
inline

Definition at line 264 of file solvepnp.cpp.

◆ run()

bool cv3::RANSACPointSetRegistrator::run ( InputArray  _m1,
InputArray  _m2,
OutputArray  _model,
OutputArray  _mask 
) const
inline

Definition at line 323 of file solvepnp.cpp.

◆ setCallback()

void cv3::RANSACPointSetRegistrator::setCallback ( const Ptr< PointSetRegistrator::Callback > &  _cb)
inline

Definition at line 419 of file solvepnp.cpp.

Member Data Documentation

◆ cb

Ptr<PointSetRegistrator::Callback> cv3::RANSACPointSetRegistrator::cb

Definition at line 421 of file solvepnp.cpp.

◆ checkPartialSubsets

bool cv3::RANSACPointSetRegistrator::checkPartialSubsets

Definition at line 423 of file solvepnp.cpp.

◆ confidence

double cv3::RANSACPointSetRegistrator::confidence

Definition at line 425 of file solvepnp.cpp.

◆ maxIters

int cv3::RANSACPointSetRegistrator::maxIters

Definition at line 426 of file solvepnp.cpp.

◆ modelPoints

int cv3::RANSACPointSetRegistrator::modelPoints

Definition at line 422 of file solvepnp.cpp.

◆ threshold

double cv3::RANSACPointSetRegistrator::threshold

Definition at line 424 of file solvepnp.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:38:59