OpenCV for Unity  2.6.3
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.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow Class Reference

Class used for calculating a sparse optical flow. More...

Inheritance diagram for OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow:
OpenCVForUnity.VideoModule.SparseOpticalFlow OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

Size getWinSize ()
 
void setWinSize (Size winSize)
 
int getMaxLevel ()
 
void setMaxLevel (int maxLevel)
 
TermCriteria getTermCriteria ()
 
void setTermCriteria (TermCriteria crit)
 
int getFlags ()
 
void setFlags (int flags)
 
double getMinEigThreshold ()
 
void setMinEigThreshold (double minEigThreshold)
 
- Public Member Functions inherited from OpenCVForUnity.VideoModule.SparseOpticalFlow
void calc (Mat prevImg, Mat nextImg, Mat prevPts, Mat nextPts, Mat status, Mat err)
 Calculates a sparse optical flow. More...
 
void calc (Mat prevImg, Mat nextImg, Mat prevPts, Mat nextPts, Mat status)
 Calculates a sparse optical flow. More...
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
IntPtr getNativeObjAddr ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
void save (string filename)
 
virtual string getDefaultName ()
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new SparsePyrLKOpticalFlow __fromPtr__ (IntPtr addr)
 
static SparsePyrLKOpticalFlow create (Size winSize, int maxLevel, TermCriteria crit, int flags, double minEigThreshold)
 
static SparsePyrLKOpticalFlow create (Size winSize, int maxLevel, TermCriteria crit, int flags)
 
static SparsePyrLKOpticalFlow create (Size winSize, int maxLevel, TermCriteria crit)
 
static SparsePyrLKOpticalFlow create (Size winSize, int maxLevel)
 
static SparsePyrLKOpticalFlow create (Size winSize)
 
static SparsePyrLKOpticalFlow create ()
 
- Static Public Member Functions inherited from OpenCVForUnity.VideoModule.SparseOpticalFlow
static new SparseOpticalFlow __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.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Class used for calculating a sparse optical flow.

The class can calculate an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.

See also
calcOpticalFlowPyrLK

Member Function Documentation

◆ __fromPtr__()

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

◆ create() [1/6]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( Size  winSize,
int  maxLevel,
TermCriteria  crit,
int  flags,
double  minEigThreshold 
)
static

◆ create() [2/6]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( Size  winSize,
int  maxLevel,
TermCriteria  crit,
int  flags 
)
static

◆ create() [3/6]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( Size  winSize,
int  maxLevel,
TermCriteria  crit 
)
static

◆ create() [4/6]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( Size  winSize,
int  maxLevel 
)
static

◆ create() [5/6]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( Size  winSize)
static

◆ create() [6/6]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( )
static

◆ Dispose()

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

◆ getFlags()

int OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getFlags ( )

◆ getMaxLevel()

int OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getMaxLevel ( )

◆ getMinEigThreshold()

double OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getMinEigThreshold ( )

◆ getTermCriteria()

TermCriteria OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getTermCriteria ( )

◆ getWinSize()

Size OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getWinSize ( )

◆ setFlags()

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

◆ setMaxLevel()

void OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.setMaxLevel ( int  maxLevel)

◆ setMinEigThreshold()

void OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.setMinEigThreshold ( double  minEigThreshold)

◆ setTermCriteria()

void OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.setTermCriteria ( TermCriteria  crit)

◆ setWinSize()

void OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.setWinSize ( Size  winSize)

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