OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::cuda::BroxOpticalFlow Class Referenceabstract

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

#include <opencv2/cudaoptflow.hpp>

Collaboration diagram for cv::cuda::BroxOpticalFlow:

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)
 
virtual int getOuterIterations () const =0
 number of warping iterations (number of pyramid levels)
 
virtual double getPyramidScaleFactor () const =0
 
virtual int getSolverIterations () const =0
 number of linear system solver iterations
 
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.
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state.
 
virtual bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 Reads algorithm parameters from a file storage.
 
virtual void save (const String &filename) const
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage.
 
void write (FileStorage &fs, const String &name) const
 

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< _Tpload (const String &filename, const String &objname=String())
 Loads algorithm from the file.
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String.
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 Reads algorithm from the file node.
 

Additional Inherited Members

- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

Detailed Description

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

Member Function Documentation

◆ 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

◆ 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

◆ 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

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