OpenCV
3.0.0-dev
Open Source Computer Vision
|
Base class for all global motion estimation methods. More...
#include "global_motion.hpp"
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) | |
Base class for all global motion estimation methods.
|
inlinevirtual |
|
inlineprotected |
|
pure virtual |
Estimates global motion between two 2D point clouds.
points0 | Source set of 2D points (32F). |
points1 | Destination set of 2D points (32F). |
ok | Indicates whether motion was estimated successfully. |
Implemented in cv::videostab::MotionEstimatorL1, and cv::videostab::MotionEstimatorRansacL2.
|
inlinevirtual |
|
inlinevirtual |
Sets motion model.
val | Motion model. See cv::videostab::MotionModel. |