class cv::videostab::ImageMotionEstimatorBase

Base class for global 2D motion estimation methods which take frames as input.

#include <global_motion.hpp>

class ImageMotionEstimatorBase
{
public:
    // methods

    virtual
    Mat
    estimate(
        const Mat& frame0,
        const Mat& frame1,
        bool* ok = 0
        ) = 0;

    virtual
    MotionModel
    motionModel() const;

    virtual
    void
    setMotionModel(MotionModel val);

protected:
    // construction

    ImageMotionEstimatorBase(MotionModel model);
};

// direct descendants

class FromFileMotionReader;
class KeypointBasedMotionEstimator;
class ToFileMotionWriter;