43
#ifndef OPENCV_VIDEOSTAB_WOBBLE_SUPPRESSION_HPP
44
#define OPENCV_VIDEOSTAB_WOBBLE_SUPPRESSION_HPP
47
#include "opencv2/core.hpp"
48
#include "opencv2/core/cuda.hpp"
49
#include "opencv2/videostab/global_motion.hpp"
50
#include "opencv2/videostab/log.hpp"
70
virtual
void
suppress(
int
idx,
const
Mat
&frame,
Mat
&result) = 0;
75
virtual
void
setFrameCount(
int
val) { frameCount_ = val; }
76
virtual
int
frameCount()
const
{
return
frameCount_; }
78
virtual
void
setMotions(
const
std::vector<Mat> &val) { motions_ = &val; }
79
virtual
const
std::vector<Mat>& motions()
const
{
return
*motions_; }
81
virtual
void
setMotions2(
const
std::vector<Mat> &val) { motions2_ = &val; }
82
virtual
const
std::vector<Mat>& motions2()
const
{
return
*motions2_; }
84
virtual
void
setStabilizationMotions(
const
std::vector<Mat> &val) { stabilizationMotions_ = &val; }
85
virtual
const
std::vector<Mat>& stabilizationMotions()
const
{
return
*stabilizationMotions_; }
90
const
std::vector<Mat> *motions_;
91
const
std::vector<Mat> *motions2_;
92
const
std::vector<Mat> *stabilizationMotions_;
98
virtual
void
suppress(
int
idx,
const
Mat
&frame,
Mat
&result) CV_OVERRIDE;
104
virtual
void
setPeriod(
int
val) { period_ = val; }
105
virtual
int
period()
const
{
return
period_; }
116
virtual
void
suppress(
int
idx,
const
Mat
&frame,
Mat
&result) CV_OVERRIDE;
122
#if defined(HAVE_OPENCV_CUDAWARPING)
127
virtual
void
suppress(
int
idx,
const
Mat
&frame,
Mat
&result) CV_OVERRIDE;
Template matrix class derived from Mat
Definition:
mat.hpp:2199
n-dimensional dense array class
Definition:
mat.hpp:802
Base storage class for GPU memory with reference counting.
Definition:
core/cuda.hpp:106
Definition:
wobble_suppression.hpp:102
Definition:
wobble_suppression.hpp:114
Definition:
wobble_suppression.hpp:96
Definition:
wobble_suppression.hpp:61
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cvstd_wrapper.hpp:74