OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::videostab::RansacParams Struct Reference

Describes RANSAC method parameters. More...

#include <opencv2/videostab/motion_core.hpp>

Collaboration diagram for cv::videostab::RansacParams:

Public Member Functions

 RansacParams ()
 
 RansacParams (int size, float thresh, float eps, float prob)
 Constructor.
 
int niters () const
 

Static Public Member Functions

static RansacParams default2dMotion (MotionModel model)
 

Public Attributes

float eps
 max outliers ratio
 
float prob
 probability of success
 
int size
 subset size
 
float thresh
 max error to classify as inlier
 

Detailed Description

Describes RANSAC method parameters.

Constructor & Destructor Documentation

◆ RansacParams()

cv::videostab::RansacParams::RansacParams ( )
inline

Member Function Documentation

◆ default2dMotion()

static RansacParams cv::videostab::RansacParams::default2dMotion ( MotionModel model)
inlinestatic
Parameters
modelMotion model. See cv::videostab::MotionModel.
Returns
Default RANSAC method parameters for the given motion model.

◆ niters()

int cv::videostab::RansacParams::niters ( ) const
inline
Returns
Number of iterations that'll be performed by RANSAC method.

Member Data Documentation

◆ eps

float cv::videostab::RansacParams::eps

max outliers ratio

◆ prob

float cv::videostab::RansacParams::prob

probability of success

◆ size

int cv::videostab::RansacParams::size

subset size

◆ thresh

float cv::videostab::RansacParams::thresh

max error to classify as inlier


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