class cv::videostab::MotionEstimatorBase
Overview
Base class for all global motion estimation methods. Moreā¦
#include <global_motion.hpp> class MotionEstimatorBase { public: // methods virtual Mat estimate( InputArray points0, InputArray points1, bool* ok = 0 ) = 0; virtual MotionModel motionModel() const; virtual void setMotionModel(MotionModel val); protected: // construction MotionEstimatorBase(MotionModel model); }; // direct descendants class MotionEstimatorL1; class MotionEstimatorRansacL2;
Detailed Documentation
Base class for all global motion estimation methods.
Methods
virtual Mat estimate( InputArray points0, InputArray points1, bool* ok = 0 ) = 0
Estimates global motion between two 2D point clouds.
Parameters:
points0 | Source set of 2D points (32F). |
points1 | Destination set of 2D points (32F). |
ok | Indicates whether motion was estimated successfully. |
Returns:
3x3 2D transformation matrix (32F).
virtual MotionModel motionModel() const
Returns:
Motion model. See cv::videostab::MotionModel.
virtual void setMotionModel(MotionModel val)
Sets motion model.
Parameters:
val | Motion model. See cv::videostab::MotionModel. |