OpenCV  3.1.0
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | List of all members
cv::cuda::BroxOpticalFlow Class Referenceabstract

Class computing the optical flow for two images using Brox et al Optical Flow algorithm ([20]). More...

#include "cudaoptflow.hpp"

Inheritance diagram for cv::cuda::BroxOpticalFlow:
cv::cuda::DenseOpticalFlow cv::Algorithm

Public Member Functions

virtual double getFlowSmoothness () const =0
 
virtual double getGradientConstancyImportance () const =0
 
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 getPyramidScaleFactor () const =0
 
virtual int getSolverIterations () const =0
 number of linear system solver iterations More...
 
virtual void setFlowSmoothness (double alpha)=0
 
virtual void setGradientConstancyImportance (double gamma)=0
 
virtual void setInnerIterations (int inner_iterations)=0
 
virtual void setOuterIterations (int outer_iterations)=0
 
virtual void setPyramidScaleFactor (double scale_factor)=0
 
virtual void setSolverIterations (int solver_iterations)=0
 
- Public Member Functions inherited from cv::cuda::DenseOpticalFlow
virtual void calc (InputArray I0, InputArray I1, InputOutputArray flow, Stream &stream=Stream::Null())=0
 Calculates a dense optical flow. More...
 
- Public Member Functions inherited from cv::Algorithm
 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...
 

Static Public Member Functions

static Ptr< BroxOpticalFlowcreate (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 Public Member Functions inherited from cv::Algorithm
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...
 

Detailed Description

Class computing the optical flow for two images using Brox et al Optical Flow algorithm ([20]).

Member Function Documentation

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
virtual double cv::cuda::BroxOpticalFlow::getFlowSmoothness ( ) const
pure virtual
virtual double cv::cuda::BroxOpticalFlow::getGradientConstancyImportance ( ) const
pure virtual
virtual int cv::cuda::BroxOpticalFlow::getInnerIterations ( ) const
pure virtual

number of lagged non-linearity iterations (inner loop)

virtual int cv::cuda::BroxOpticalFlow::getOuterIterations ( ) const
pure virtual

number of warping iterations (number of pyramid levels)

virtual double cv::cuda::BroxOpticalFlow::getPyramidScaleFactor ( ) const
pure virtual
virtual int cv::cuda::BroxOpticalFlow::getSolverIterations ( ) const
pure virtual

number of linear system solver iterations

virtual void cv::cuda::BroxOpticalFlow::setFlowSmoothness ( double  alpha)
pure virtual
virtual void cv::cuda::BroxOpticalFlow::setGradientConstancyImportance ( double  gamma)
pure virtual
virtual void cv::cuda::BroxOpticalFlow::setInnerIterations ( int  inner_iterations)
pure virtual
virtual void cv::cuda::BroxOpticalFlow::setOuterIterations ( int  outer_iterations)
pure virtual
virtual void cv::cuda::BroxOpticalFlow::setPyramidScaleFactor ( double  scale_factor)
pure virtual
virtual void cv::cuda::BroxOpticalFlow::setSolverIterations ( int  solver_iterations)
pure virtual

The documentation for this class was generated from the following file: