![]() |
OpenCV
3.4.20
Open Source Computer Vision
|
#include <opencv2/superres/optical_flow.hpp>
Public Member Functions | |
virtual double | getAlpha () const =0 |
Flow smoothness. More... | |
virtual double | getGamma () const =0 |
Gradient constancy importance. More... | |
virtual int | getInnerIterations () const =0 |
Number of lagged non-linearity iterations (inner loop) More... | |
virtual int | getOuterIterations () const =0 |
Number of warping iterations (number of pyramid levels) More... | |
virtual double | getScaleFactor () const =0 |
Pyramid scale factor. More... | |
virtual int | getSolverIterations () const =0 |
Number of linear system solver iterations. More... | |
virtual void | setAlpha (double val)=0 |
Flow smoothness. More... | |
virtual void | setGamma (double val)=0 |
Gradient constancy importance. More... | |
virtual void | setInnerIterations (int val)=0 |
Number of lagged non-linearity iterations (inner loop) More... | |
virtual void | setOuterIterations (int val)=0 |
Number of warping iterations (number of pyramid levels) More... | |
virtual void | setScaleFactor (double val)=0 |
Pyramid scale factor. More... | |
virtual void | setSolverIterations (int val)=0 |
Number of linear system solver iterations. More... | |
![]() | |
virtual void | calc (InputArray frame0, InputArray frame1, OutputArray flow1, OutputArray flow2=noArray())=0 |
virtual void | collectGarbage ()=0 |
![]() | |
Algorithm () | |
virtual | ~Algorithm () |
virtual void | clear () |
Clears the algorithm state. More... | |
virtual bool | empty () const |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More... | |
virtual String | getDefaultName () const |
virtual void | read (const FileNode &fn) |
Reads algorithm parameters from a file storage. More... | |
virtual void | save (const String &filename) const |
virtual void | write (FileStorage &fs) const |
Stores algorithm parameters in a file storage. More... | |
void | write (FileStorage &fs, const String &name) const |
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
Additional Inherited Members | |
![]() | |
template<typename _Tp > | |
static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
Loads algorithm from the file. More... | |
template<typename _Tp > | |
static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
Loads algorithm from a String. More... | |
template<typename _Tp > | |
static Ptr< _Tp > | read (const FileNode &fn) |
Reads algorithm from the file node. More... | |
![]() | |
void | writeFormat (FileStorage &fs) const |
|
pure virtual |
Flow smoothness.
|
pure virtual |
Gradient constancy importance.
|
pure virtual |
Number of lagged non-linearity iterations (inner loop)
|
pure virtual |
Number of warping iterations (number of pyramid levels)
|
pure virtual |
Pyramid scale factor.
|
pure virtual |
Number of linear system solver iterations.
|
pure virtual |
Flow smoothness.
|
pure virtual |
Gradient constancy importance.
|
pure virtual |
Number of lagged non-linearity iterations (inner loop)
|
pure virtual |
Number of warping iterations (number of pyramid levels)
|
pure virtual |
Pyramid scale factor.
|
pure virtual |
Number of linear system solver iterations.