OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::cuda::FarnebackOpticalFlow 類參考抽象

使用Gunnar Farneback演算法計算稠密光流的類。 更多...

#include <opencv2/cudaoptflow.hpp>

cv::cuda::FarnebackOpticalFlow 的協作圖

公共成員函式

virtual bool getFastPyramids () const =0
 
virtual int getFlags () const =0
 
virtual int getNumIters () const =0
 
virtual int getNumLevels () const =0
 
virtual int getPolyN () const =0
 
virtual double getPolySigma () const =0
 
virtual double getPyrScale () const =0
 
virtual int getWinSize () const =0
 
virtual void setFastPyramids (bool fastPyramids)=0
 
virtual void setFlags (int flags)=0
 
virtual void setNumIters (int numIters)=0
 
virtual void setNumLevels (int numLevels)=0
 
virtual void setPolyN (int polyN)=0
 
virtual void setPolySigma (double polySigma)=0
 
virtual void setPyrScale (double pyrScale)=0
 
virtual void setWinSize (int winSize)=0
 
- 從 cv::cuda::DenseOpticalFlow 繼承的公共成員函式
virtual void calc (InputArray I0, InputArray I1, InputOutputArray flow, Stream &stream=Stream::Null())=0
 計算稠密光流。
 
- 從 cv::Algorithm 繼承的公共成員函式
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 清除演算法狀態。
 
virtual bool empty () const
 如果 Algorithm 為空(例如,在最開始或讀取失敗後),則返回 true。
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 從檔案儲存中讀取演算法引數。
 
virtual void save (const String &filename) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
virtual void write (FileStorage &fs) const
 將演算法引數儲存到檔案儲存中。
 
void write (FileStorage &fs, const String &name) const
 

靜態公共成員函式

static Ptr< cuda::FarnebackOpticalFlowcreate (int numLevels=5, double pyrScale=0.5, bool fastPyramids=false, int winSize=13, int numIters=10, int polyN=5, double polySigma=1.1, int flags=0)
 
- 從 cv::Algorithm 繼承的靜態公共成員函式
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 從檔案中載入演算法。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 從字串載入演算法。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 從檔案節點讀取演算法。
 

其他繼承成員

- 從 cv::Algorithm 繼承的保護成員函式
void writeFormat (FileStorage &fs) const
 

詳細描述

使用Gunnar Farneback演算法計算稠密光流的類。

成員函式文件

◆ create()

static Ptr< cuda::FarnebackOpticalFlow > cv::cuda::FarnebackOpticalFlow::create ( int numLevels = 5,
double pyrScale = 0.5,
bool fastPyramids = false,
int winSize = 13,
int numIters = 10,
int polyN = 5,
double polySigma = 1.1,
int flags = 0 )
static

◆ getFastPyramids()

virtual bool cv::cuda::FarnebackOpticalFlow::getFastPyramids ( ) const
純虛擬函式

◆ getFlags()

virtual int cv::cuda::FarnebackOpticalFlow::getFlags ( ) const
純虛擬函式

◆ getNumIters()

virtual int cv::cuda::FarnebackOpticalFlow::getNumIters ( ) const
純虛擬函式

◆ getNumLevels()

virtual int cv::cuda::FarnebackOpticalFlow::getNumLevels ( ) const
純虛擬函式

◆ getPolyN()

virtual int cv::cuda::FarnebackOpticalFlow::getPolyN ( ) const
純虛擬函式

◆ getPolySigma()

virtual double cv::cuda::FarnebackOpticalFlow::getPolySigma ( ) const
純虛擬函式

◆ getPyrScale()

virtual double cv::cuda::FarnebackOpticalFlow::getPyrScale ( ) const
純虛擬函式

◆ getWinSize()

virtual int cv::cuda::FarnebackOpticalFlow::getWinSize ( ) const
純虛擬函式

◆ setFastPyramids()

virtual void cv::cuda::FarnebackOpticalFlow::setFastPyramids ( bool fastPyramids)
純虛擬函式

◆ setFlags()

virtual void cv::cuda::FarnebackOpticalFlow::setFlags ( int flags)
純虛擬函式

◆ setNumIters()

virtual void cv::cuda::FarnebackOpticalFlow::setNumIters ( int numIters)
純虛擬函式

◆ setNumLevels()

virtual void cv::cuda::FarnebackOpticalFlow::setNumLevels ( int numLevels)
純虛擬函式

◆ setPolyN()

virtual void cv::cuda::FarnebackOpticalFlow::setPolyN ( int polyN)
純虛擬函式

◆ setPolySigma()

virtual void cv::cuda::FarnebackOpticalFlow::setPolySigma ( double polySigma)
純虛擬函式

◆ setPyrScale()

virtual void cv::cuda::FarnebackOpticalFlow::setPyrScale ( double pyrScale)
純虛擬函式

◆ setWinSize()

virtual void cv::cuda::FarnebackOpticalFlow::setWinSize ( int winSize)
純虛擬函式

此類的文件是從以下檔案生成的