OpenCV  3.1.0
Open Source Computer Vision
Public Member Functions | Protected Member Functions | List of all members
cv::videostab::MotionEstimatorBase Class Referenceabstract

Base class for all global motion estimation methods. More...

#include "global_motion.hpp"

Inheritance diagram for cv::videostab::MotionEstimatorBase:
cv::videostab::MotionEstimatorL1 cv::videostab::MotionEstimatorRansacL2

Public Member Functions

virtual ~MotionEstimatorBase ()
virtual Mat estimate (InputArray points0, InputArray points1, bool *ok=0)=0
 Estimates global motion between two 2D point clouds. More...
virtual MotionModel motionModel () const
virtual void setMotionModel (MotionModel val)
 Sets motion model. More...

Protected Member Functions

 MotionEstimatorBase (MotionModel model)

Detailed Description

Base class for all global motion estimation methods.

Constructor & Destructor Documentation

virtual cv::videostab::MotionEstimatorBase::~MotionEstimatorBase ( )
cv::videostab::MotionEstimatorBase::MotionEstimatorBase ( MotionModel  model)

Member Function Documentation

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

Estimates global motion between two 2D point clouds.

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

Implemented in cv::videostab::MotionEstimatorL1, and cv::videostab::MotionEstimatorRansacL2.

virtual MotionModel cv::videostab::MotionEstimatorBase::motionModel ( ) const
Motion model. See cv::videostab::MotionModel.
virtual void cv::videostab::MotionEstimatorBase::setMotionModel ( MotionModel  val)

Sets motion model.

valMotion model. See cv::videostab::MotionModel.

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