opencv on mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

RansacParams Struct Reference

Describes RANSAC method parameters. More...

#include <motion_core.hpp>

Public Member Functions

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

Static Public Member Functions

static RansacParams default2dMotion (MotionModel model)

Data Fields

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

Detailed Description

Describes RANSAC method parameters.

Definition at line 73 of file motion_core.hpp.


Member Function Documentation

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

Definition at line 102 of file motion_core.hpp.

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

Definition at line 92 of file motion_core.hpp.


Field Documentation

float eps

max outliers ratio

Definition at line 77 of file motion_core.hpp.

float prob

probability of success

Definition at line 78 of file motion_core.hpp.

int size

subset size

Definition at line 75 of file motion_core.hpp.

float thresh

max error to classify as inlier

Definition at line 76 of file motion_core.hpp.