43 #ifndef __OPENCV_VIDEOSTAB_MOTION_STABILIZING_HPP__
44 #define __OPENCV_VIDEOSTAB_MOTION_STABILIZING_HPP__
57 virtual void stabilize(
const Mat *motions,
int size,
Mat *stabilizationMotions)
const = 0;
59 #ifdef OPENCV_CAN_BREAK_BINARY_COMPATIBILITY
71 virtual int radius()
const {
return radius_; }
75 virtual Mat stabilize(
int index,
const Mat *motions,
int size)
const = 0;
76 virtual void stabilize(
const Mat *motions,
int size,
Mat *stabilizationMotions)
const;
88 float stdev()
const {
return stdev_; }
90 virtual void update();
96 std::vector<float> weight_;
CvArr CvPoint2D32f double M
Definition: imgproc_c.h:186
GaussianMotionFilter()
Definition: motion_stabilizing.hpp:85
Definition: motion_stabilizing.hpp:82
virtual ~IMotionStabilizer()
Definition: motion_stabilizing.hpp:60
MotionFilterBase()
Definition: motion_stabilizing.hpp:67
GLuint index
Definition: core_c.h:986
Definition: motion_stabilizing.hpp:64
virtual int radius() const
Definition: motion_stabilizing.hpp:71
The 2D size class.
Definition: core.hpp:81
void setStdev(float val)
Definition: motion_stabilizing.hpp:87
virtual ~MotionFilterBase()
Definition: motion_stabilizing.hpp:68
int radius_
Definition: motion_stabilizing.hpp:79
float stdev() const
Definition: motion_stabilizing.hpp:88
virtual void setRadius(int val)
Definition: motion_stabilizing.hpp:70
Definition: motion_stabilizing.hpp:54
The n-dimensional matrix class.
Definition: core.hpp:1688
virtual void update()
Definition: motion_stabilizing.hpp:73
CV_EXPORTS Mat ensureInclusionConstraint(const Mat &M, Size size, float trimRatio)
GLsizeiptr size
Definition: core_c.h:939
CV_EXPORTS float estimateOptimalTrimRatio(const Mat &M, Size size)