OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::videostab::MotionEstimatorL1 Class Reference

Describes a global 2D motion estimation method which minimizes L1 error. More...

#include <opencv2/videostab/global_motion.hpp>

Collaboration diagram for cv::videostab::MotionEstimatorL1:

Public Member Functions

 MotionEstimatorL1 (MotionModel model=MM_AFFINE)
 
virtual Mat estimate (InputArray points0, InputArray points1, bool *ok=0) CV_OVERRIDE
 Estimates global motion between two 2D point clouds.
 
- Public Member Functions inherited from cv::videostab::MotionEstimatorBase
virtual ~MotionEstimatorBase ()
 
virtual MotionModel motionModel () const
 
virtual void setMotionModel (MotionModel val)
 Sets motion model.
 

Additional Inherited Members

- Protected Member Functions inherited from cv::videostab::MotionEstimatorBase
 MotionEstimatorBase (MotionModel model)
 

Detailed Description

Describes a global 2D motion estimation method which minimizes L1 error.

Note
To be able to use this method you must build OpenCV with CLP library support. :

Constructor & Destructor Documentation

◆ MotionEstimatorL1()

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

Member Function Documentation

◆ estimate()

virtual Mat cv::videostab::MotionEstimatorL1::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.


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