OpenCV  4.1.0
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cv::videostab::RansacParams Struct Reference

Describes RANSAC method parameters. More...

#include <opencv2/videostab/motion_core.hpp>

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

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

Member Function Documentation

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.
int cv::videostab::RansacParams::niters ( ) const
inline
Returns
Number of iterations that'll be performed by RANSAC method.

Member Data Documentation

float cv::videostab::RansacParams::eps

max outliers ratio

float cv::videostab::RansacParams::prob

probability of success

int cv::videostab::RansacParams::size

subset size

float cv::videostab::RansacParams::thresh

max error to classify as inlier


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