opencv on mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

MotionEstimatorBase Class Reference

MotionEstimatorBase Class Reference
[Global Motion Estimation]

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

#include <global_motion.hpp>

Inherited by MotionEstimatorL1, and MotionEstimatorRansacL2.

Public Member Functions

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

Detailed Description

Base class for all global motion estimation methods.

Definition at line 97 of file global_motion.hpp.


Member Function Documentation

virtual Mat estimate ( InputArray  points0,
InputArray  points1,
bool *  ok = 0 
) [pure 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).

Implemented in MotionEstimatorRansacL2, and MotionEstimatorL1.

virtual MotionModel motionModel (  ) const [virtual]
Returns:
Motion model. See cv::videostab::MotionModel.

Definition at line 111 of file global_motion.hpp.

virtual void setMotionModel ( MotionModel  val ) [virtual]

Sets motion model.

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

Definition at line 106 of file global_motion.hpp.