class cv::videostab::MotionEstimatorL1

Overview

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

#include <global_motion.hpp>

class MotionEstimatorL1: public cv::videostab::MotionEstimatorBase
{
public:
    // construction

    MotionEstimatorL1(MotionModel model = MM_AFFINE);

    // methods

    virtual
    Mat
    estimate(
        InputArray points0,
        InputArray points1,
        bool* ok = 0
        );
};

Inherited Members

public:
    // methods

    virtual
    Mat
    estimate(
        InputArray points0,
        InputArray points1,
        bool* ok = 0
        ) = 0;

    virtual
    MotionModel
    motionModel() const;

    virtual
    void
    setMotionModel(MotionModel val);

Detailed Documentation

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

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

Methods

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