class cv::videostab::MotionFilterBase

Overview

#include <motion_stabilizing.hpp>

class MotionFilterBase: public cv::videostab::IMotionStabilizer
{
public:
    // methods

    virtual
    Mat
    stabilize(
        int idx,
        const std::vector<Mat>& motions,
        std::pair<int, int> range
        ) = 0;

    virtual
    void
    stabilize(
        int size,
        const std::vector<Mat>& motions,
        std::pair<int, int> range,
        Mat* stabilizationMotions
        );
};

// direct descendants

class GaussianMotionFilter;

Inherited Members

public:
    // methods

    virtual
    void
    stabilize(
        int size,
        const std::vector<Mat>& motions,
        std::pair<int, int> range,
        Mat* stabilizationMotions
        ) = 0;

Detailed Documentation

Methods

virtual
void
stabilize(
    int size,
    const std::vector<Mat>& motions,
    std::pair<int, int> range,
    Mat* stabilizationMotions
    )

assumes that [0, size-1) is in or equals to [range.first, range.second)