40
#ifndef __OPENCV_OPTFLOW_HPP__
41
#define __OPENCV_OPTFLOW_HPP__
43
#include "opencv2/core.hpp"
44
#include "opencv2/video.hpp"
71
#include "opencv2/optflow/rlofflow.hpp"
82
int
layers,
int
averaging_block_size,
int
max_flow);
111
int
averaging_block_size,
int
max_flow,
112
double
sigma_dist,
double
sigma_color,
int
postprocess_window,
113
double
sigma_dist_fix,
double
sigma_color_fix,
double
occ_thr,
114
int
upscale_averaging_radius,
double
upscale_sigma_dist,
115
double
upscale_sigma_color,
double
speed_up_thr );
136
int
grid_step = 8,
int
k = 128,
float
sigma = 0.05f,
137
bool
use_post_proc =
true,
float
fgs_lambda = 500.0f,
138
float
fgs_sigma = 1.5f );
223
CV_WRAP
virtual
double
getTau()
const
= 0;
225
CV_WRAP
virtual
void
setTau(
double
val) = 0;
228
CV_WRAP
virtual
double
getLambda()
const
= 0;
230
CV_WRAP
virtual
void
setLambda(
double
val) = 0;
233
CV_WRAP
virtual
double
getTheta()
const
= 0;
235
CV_WRAP
virtual
void
setTheta(
double
val) = 0;
238
CV_WRAP
virtual
double
getGamma()
const
= 0;
240
CV_WRAP
virtual
void
setGamma(
double
val) = 0;
243
CV_WRAP
virtual
int
getScalesNumber()
const
= 0;
245
CV_WRAP
virtual
void
setScalesNumber(
int
val) = 0;
248
CV_WRAP
virtual
int
getWarpingsNumber()
const
= 0;
250
CV_WRAP
virtual
void
setWarpingsNumber(
int
val) = 0;
253
CV_WRAP
virtual
double
getEpsilon()
const
= 0;
255
CV_WRAP
virtual
void
setEpsilon(
double
val) = 0;
258
CV_WRAP
virtual
int
getInnerIterations()
const
= 0;
260
CV_WRAP
virtual
void
setInnerIterations(
int
val) = 0;
263
CV_WRAP
virtual
int
getOuterIterations()
const
= 0;
265
CV_WRAP
virtual
void
setOuterIterations(
int
val) = 0;
268
CV_WRAP
virtual
bool
getUseInitialFlow()
const
= 0;
270
CV_WRAP
virtual
void
setUseInitialFlow(
bool
val) = 0;
273
CV_WRAP
virtual
double
getScaleStep()
const
= 0;
275
CV_WRAP
virtual
void
setScaleStep(
double
val) = 0;
278
CV_WRAP
virtual
int
getMedianFiltering()
const
= 0;
280
CV_WRAP
virtual
void
setMedianFiltering(
int
val) = 0;
285
double
lambda = 0.15,
289
double
epsilon = 0.01,
290
int
innnerIterations = 30,
291
int
outerIterations = 10,
292
double
scaleStep = 0.8,
294
int
medianFiltering = 5,
295
bool
useInitialFlow =
false);
307
#include "opencv2/optflow/motempl.hpp"
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition:
mat.hpp:295
Definition:
video/tracking.hpp:437
"Dual TV L1" Optical Flow Algorithm.
Definition:
optflow.hpp:219
CV_EXPORTS_W Ptr< DenseOpticalFlow > createOptFlow_SparseToDense()
Additional interface to the SparseToDenseFlow algorithm - calcOpticalFlowSparseToDense()
CV_EXPORTS_W Ptr< DenseOpticalFlow > createOptFlow_SimpleFlow()
Additional interface to the SimpleFlow algorithm - calcOpticalFlowSF()
CV_EXPORTS_W Ptr< DualTVL1OpticalFlow > createOptFlow_DualTVL1()
Creates instance of cv::DenseOpticalFlow
CV_EXPORTS_W void calcOpticalFlowSF(InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow, double sigma_dist, double sigma_color, int postprocess_window, double sigma_dist_fix, double sigma_color_fix, double occ_thr, int upscale_averaging_radius, double upscale_sigma_dist, double upscale_sigma_color, double speed_up_thr)
Calculate an optical flow using "SimpleFlow" algorithm.
CV_EXPORTS_W void calcOpticalFlowSparseToDense(InputArray from, InputArray to, OutputArray flow, int grid_step=8, int k=128, float sigma=0.05f, bool use_post_proc=true, float fgs_lambda=500.0f, float fgs_sigma=1.5f)
Fast dense optical flow based on PyrLK sparse matches interpolation.
CV_EXPORTS_W Ptr< DenseOpticalFlow > createOptFlow_Farneback()
Additional interface to the Farneback's algorithm - calcOpticalFlowFarneback()
CV_EXPORTS_W Ptr< DenseOpticalFlow > createOptFlow_DeepFlow()
DeepFlow optical flow algorithm implementation.
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Implementation of the PCAFlow algorithm from the following paper: http://files.is....
Implementation of the Global Patch Collider.
Definition:
cvstd_wrapper.hpp:74