Class computing the optical flow for two images using Brox et al Optical Flow algorithm ([13]).
More...
#include "cudaoptflow.hpp"
Class computing the optical flow for two images using Brox et al Optical Flow algorithm ([13]).
◆ calc()
Calculates a dense optical flow.
- Parameters
-
| I0 | first input image. |
| I1 | second input image of the same size and the same type as I0. |
| flow | computed flow image that has the same size as I0 and type CV_32FC2. |
| stream | Stream for the asynchronous version. |
◆ clear()
| virtual void cv::Algorithm::clear |
( |
| ) |
|
|
inlinevirtualinherited |
◆ create()
| static Ptr<BroxOpticalFlow> cv::cuda::BroxOpticalFlow::create |
( |
double |
alpha = 0.197, |
|
|
double |
gamma = 50.0, |
|
|
double |
scale_factor = 0.8, |
|
|
int |
inner_iterations = 5, |
|
|
int |
outer_iterations = 150, |
|
|
int |
solver_iterations = 10 |
|
) |
| |
|
static |
◆ empty()
| virtual bool cv::Algorithm::empty |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getDefaultName()
| virtual String cv::Algorithm::getDefaultName |
( |
| ) |
const |
|
virtualinherited |
◆ getFlowSmoothness()
| virtual double cv::cuda::BroxOpticalFlow::getFlowSmoothness |
( |
| ) |
const |
|
pure virtual |
◆ getGradientConstancyImportance()
| virtual double cv::cuda::BroxOpticalFlow::getGradientConstancyImportance |
( |
| ) |
const |
|
pure virtual |
◆ getInnerIterations()
| virtual int cv::cuda::BroxOpticalFlow::getInnerIterations |
( |
| ) |
const |
|
pure virtual |
number of lagged non-linearity iterations (inner loop)
◆ getOuterIterations()
| virtual int cv::cuda::BroxOpticalFlow::getOuterIterations |
( |
| ) |
const |
|
pure virtual |
number of warping iterations (number of pyramid levels)
◆ getPyramidScaleFactor()
| virtual double cv::cuda::BroxOpticalFlow::getPyramidScaleFactor |
( |
| ) |
const |
|
pure virtual |
◆ getSolverIterations()
| virtual int cv::cuda::BroxOpticalFlow::getSolverIterations |
( |
| ) |
const |
|
pure virtual |
number of linear system solver iterations
◆ load()
◆ loadFromString()
template<typename _Tp >
| static Ptr<_Tp> cv::Algorithm::loadFromString |
( |
const String & |
strModel, |
|
|
const String & |
objname = String() |
|
) |
| |
|
inlinestaticinherited |
◆ read() [1/2]
| virtual void cv::Algorithm::read |
( |
const FileNode & |
fn | ) |
|
|
inlinevirtualinherited |
◆ read() [2/2]
template<typename _Tp >
| static Ptr<_Tp> cv::Algorithm::read |
( |
const FileNode & |
fn | ) |
|
|
inlinestaticinherited |
Reads algorithm from the file node.
This is static template method of Algorithm. It's usage is following (in the case of SVM):
Ptr<SVM> svm = Algorithm::read<SVM>(fsRead.root());
In order to make this method work, the derived class must overwrite Algorithm::read(const FileNode& fn) and also have static create() method without parameters (or with all the optional parameters)
◆ save()
| virtual void cv::Algorithm::save |
( |
const String & |
filename | ) |
const |
|
virtualinherited |
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
◆ setFlowSmoothness()
| virtual void cv::cuda::BroxOpticalFlow::setFlowSmoothness |
( |
double |
alpha | ) |
|
|
pure virtual |
◆ setGradientConstancyImportance()
| virtual void cv::cuda::BroxOpticalFlow::setGradientConstancyImportance |
( |
double |
gamma | ) |
|
|
pure virtual |
◆ setInnerIterations()
| virtual void cv::cuda::BroxOpticalFlow::setInnerIterations |
( |
int |
inner_iterations | ) |
|
|
pure virtual |
◆ setOuterIterations()
| virtual void cv::cuda::BroxOpticalFlow::setOuterIterations |
( |
int |
outer_iterations | ) |
|
|
pure virtual |
◆ setPyramidScaleFactor()
| virtual void cv::cuda::BroxOpticalFlow::setPyramidScaleFactor |
( |
double |
scale_factor | ) |
|
|
pure virtual |
◆ setSolverIterations()
| virtual void cv::cuda::BroxOpticalFlow::setSolverIterations |
( |
int |
solver_iterations | ) |
|
|
pure virtual |
◆ write() [1/2]
| virtual void cv::Algorithm::write |
( |
FileStorage & |
fs | ) |
const |
|
inlinevirtualinherited |
◆ write() [2/2]
simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ writeFormat()
| void cv::Algorithm::writeFormat |
( |
FileStorage & |
fs | ) |
const |
|
protectedinherited |
The documentation for this class was generated from the following file:
- cudaoptflow/include/opencv2/cudaoptflow.hpp