OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.VideoModule.FarnebackOpticalFlow Class Reference

Class computing a dense optical flow using the Gunnar Farneback's algorithm. More...

Public Member Functions

bool getFastPyramids ()
 
int getFlags ()
 
int getNumIters ()
 
int getNumLevels ()
 
int getPolyN ()
 
double getPolySigma ()
 
double getPyrScale ()
 
int getWinSize ()
 
void setFastPyramids (bool fastPyramids)
 
void setFlags (int flags)
 
void setNumIters (int numIters)
 
void setNumLevels (int numLevels)
 
void setPolyN (int polyN)
 
void setPolySigma (double polySigma)
 
void setPyrScale (double pyrScale)
 
void setWinSize (int winSize)
 
- Public Member Functions inherited from OpenCVForUnity.VideoModule.DenseOpticalFlow
void calc (Mat I0, Mat I1, Mat flow)
 Calculates an optical flow.
 
void collectGarbage ()
 Releases all inner buffers.
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
virtual void clear ()
 Clears the algorithm state.
 
virtual bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
virtual string getDefaultName ()
 
IntPtr getNativeObjAddr ()
 
void save (string filename)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new FarnebackOpticalFlow __fromPtr__ (IntPtr addr)
 
static FarnebackOpticalFlow create ()
 
static FarnebackOpticalFlow create (int numLevels)
 
static FarnebackOpticalFlow create (int numLevels, double pyrScale)
 
static FarnebackOpticalFlow create (int numLevels, double pyrScale, bool fastPyramids)
 
static FarnebackOpticalFlow create (int numLevels, double pyrScale, bool fastPyramids, int winSize)
 
static FarnebackOpticalFlow create (int numLevels, double pyrScale, bool fastPyramids, int winSize, int numIters)
 
static FarnebackOpticalFlow create (int numLevels, double pyrScale, bool fastPyramids, int winSize, int numIters, int polyN)
 
static FarnebackOpticalFlow create (int numLevels, double pyrScale, bool fastPyramids, int winSize, int numIters, int polyN, double polySigma)
 
static FarnebackOpticalFlow create (int numLevels, double pyrScale, bool fastPyramids, int winSize, int numIters, int polyN, double polySigma, int flags)
 
- Static Public Member Functions inherited from OpenCVForUnity.VideoModule.DenseOpticalFlow
static new DenseOpticalFlow __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
static Algorithm __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.VideoModule.DenseOpticalFlow
- Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Functions inherited from OpenCVForUnity.VideoModule.DenseOpticalFlow
- Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Class computing a dense optical flow using the Gunnar Farneback's algorithm.

Member Function Documentation

◆ __fromPtr__()

static new FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( )
static

◆ create() [2/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( int numLevels)
static

◆ create() [3/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( int numLevels,
double pyrScale )
static

◆ create() [4/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( int numLevels,
double pyrScale,
bool fastPyramids )
static

◆ create() [5/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( int numLevels,
double pyrScale,
bool fastPyramids,
int winSize )
static

◆ create() [6/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( int numLevels,
double pyrScale,
bool fastPyramids,
int winSize,
int numIters )
static

◆ create() [7/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( int numLevels,
double pyrScale,
bool fastPyramids,
int winSize,
int numIters,
int polyN )
static

◆ create() [8/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( int numLevels,
double pyrScale,
bool fastPyramids,
int winSize,
int numIters,
int polyN,
double polySigma )
static

◆ create() [9/9]

static FarnebackOpticalFlow OpenCVForUnity.VideoModule.FarnebackOpticalFlow.create ( int numLevels,
double pyrScale,
bool fastPyramids,
int winSize,
int numIters,
int polyN,
double polySigma,
int flags )
static

◆ Dispose()

override void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.Dispose ( bool disposing)
protectedvirtual

◆ getFastPyramids()

bool OpenCVForUnity.VideoModule.FarnebackOpticalFlow.getFastPyramids ( )

◆ getFlags()

int OpenCVForUnity.VideoModule.FarnebackOpticalFlow.getFlags ( )

◆ getNumIters()

int OpenCVForUnity.VideoModule.FarnebackOpticalFlow.getNumIters ( )

◆ getNumLevels()

int OpenCVForUnity.VideoModule.FarnebackOpticalFlow.getNumLevels ( )

◆ getPolyN()

int OpenCVForUnity.VideoModule.FarnebackOpticalFlow.getPolyN ( )

◆ getPolySigma()

double OpenCVForUnity.VideoModule.FarnebackOpticalFlow.getPolySigma ( )

◆ getPyrScale()

double OpenCVForUnity.VideoModule.FarnebackOpticalFlow.getPyrScale ( )

◆ getWinSize()

int OpenCVForUnity.VideoModule.FarnebackOpticalFlow.getWinSize ( )

◆ setFastPyramids()

void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.setFastPyramids ( bool fastPyramids)

◆ setFlags()

void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.setFlags ( int flags)

◆ setNumIters()

void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.setNumIters ( int numIters)

◆ setNumLevels()

void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.setNumLevels ( int numLevels)

◆ setPolyN()

void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.setPolyN ( int polyN)

◆ setPolySigma()

void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.setPolySigma ( double polySigma)

◆ setPyrScale()

void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.setPyrScale ( double pyrScale)

◆ setWinSize()

void OpenCVForUnity.VideoModule.FarnebackOpticalFlow.setWinSize ( int winSize)

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