OpenCV  3.2.0-dev
Open Source Computer Vision
cv::videostab::MotionEstimatorRansacL2 Class Reference

Describes a robust RANSAC-based global 2D motion estimation method which minimizes L2 error. More...

#include "global_motion.hpp"

Inheritance diagram for cv::videostab::MotionEstimatorRansacL2:
Collaboration diagram for cv::videostab::MotionEstimatorRansacL2:

Public Member Functions

 MotionEstimatorRansacL2 (MotionModel model=MM_AFFINE)
 
virtual Mat estimate (InputArray points0, InputArray points1, bool *ok=0)
 Estimates global motion between two 2D point clouds. More...
 
float minInlierRatio () const
 
virtual MotionModel motionModel () const
 
RansacParams ransacParams () const
 
void setMinInlierRatio (float val)
 
virtual void setMotionModel (MotionModel val)
 Sets motion model. More...
 
void setRansacParams (const RansacParams &val)
 

Detailed Description

Describes a robust RANSAC-based global 2D motion estimation method which minimizes L2 error.

Constructor & Destructor Documentation

cv::videostab::MotionEstimatorRansacL2::MotionEstimatorRansacL2 ( MotionModel  model = MM_AFFINE)

Member Function Documentation

virtual Mat cv::videostab::MotionEstimatorRansacL2::estimate ( InputArray  points0,
InputArray  points1,
bool *  ok = 0 
)
virtual

Estimates global motion between two 2D point clouds.

Parameters
points0Source set of 2D points (32F).
points1Destination set of 2D points (32F).
okIndicates whether motion was estimated successfully.
Returns
3x3 2D transformation matrix (32F).

Implements cv::videostab::MotionEstimatorBase.

float cv::videostab::MotionEstimatorRansacL2::minInlierRatio ( ) const
inline
virtual MotionModel cv::videostab::MotionEstimatorBase::motionModel ( ) const
inlinevirtualinherited
Returns
Motion model. See cv::videostab::MotionModel.
RansacParams cv::videostab::MotionEstimatorRansacL2::ransacParams ( ) const
inline
void cv::videostab::MotionEstimatorRansacL2::setMinInlierRatio ( float  val)
inline
virtual void cv::videostab::MotionEstimatorBase::setMotionModel ( MotionModel  val)
inlinevirtualinherited

Sets motion model.

Parameters
valMotion model. See cv::videostab::MotionModel.
void cv::videostab::MotionEstimatorRansacL2::setRansacParams ( const RansacParams val)
inline

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