OpenCV for Unity 2.6.5
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.SparsePyrLKOpticalFlow Class Reference

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

Public Member Functions

int getFlags ()
 
int getMaxLevel ()
 
double getMinEigThreshold ()
 
TermCriteria getTermCriteria ()
 
double double double epsilon getTermCriteriaAsValueTuple ()
 
Vec3d getTermCriteriaAsVec3d ()
 
Size getWinSize ()
 
double double height getWinSizeAsValueTuple ()
 
Vec2d getWinSizeAsVec2d ()
 
void setFlags (int flags)
 
void setMaxLevel (int maxLevel)
 
void setMinEigThreshold (double minEigThreshold)
 
void setTermCriteria (in Vec3d crit)
 
void setTermCriteria (in(double type, double maxCount, double epsilon) crit)
 
void setTermCriteria (TermCriteria crit)
 
void setWinSize (in Vec2d winSize)
 
void setWinSize (in(double width, double height) winSize)
 
void setWinSize (Size winSize)
 
- Public Member Functions inherited from OpenCVForUnity.VideoModule.SparseOpticalFlow
void calc (Mat prevImg, Mat nextImg, Mat prevPts, Mat nextPts, Mat status)
 Calculates a sparse optical flow.
 
void calc (Mat prevImg, Mat nextImg, Mat prevPts, Mat nextPts, Mat status, Mat err)
 Calculates a sparse optical flow.
 
- 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 SparsePyrLKOpticalFlow __fromPtr__ (IntPtr addr)
 
static SparsePyrLKOpticalFlow create ()
 
static SparsePyrLKOpticalFlow create (in Vec2d winSize)
 
static SparsePyrLKOpticalFlow create (in Vec2d winSize, int maxLevel)
 
static SparsePyrLKOpticalFlow create (in Vec2d winSize, int maxLevel, in Vec3d crit)
 
static SparsePyrLKOpticalFlow create (in Vec2d winSize, int maxLevel, in Vec3d crit, int flags)
 
static SparsePyrLKOpticalFlow create (in Vec2d winSize, int maxLevel, in Vec3d crit, int flags, double minEigThreshold)
 
static SparsePyrLKOpticalFlow create (in(double width, double height) winSize)
 
static SparsePyrLKOpticalFlow create (in(double width, double height) winSize, int maxLevel)
 
static SparsePyrLKOpticalFlow create (in(double width, double height) winSize, int maxLevel, in(double type, double maxCount, double epsilon) crit)
 
static SparsePyrLKOpticalFlow create (in(double width, double height) winSize, int maxLevel, in(double type, double maxCount, double epsilon) crit, int flags)
 
static SparsePyrLKOpticalFlow create (in(double width, double height) winSize, int maxLevel, in(double type, double maxCount, double epsilon) crit, int flags, double minEigThreshold)
 
static SparsePyrLKOpticalFlow create (Size winSize)
 
static SparsePyrLKOpticalFlow create (Size winSize, int maxLevel)
 
static SparsePyrLKOpticalFlow create (Size winSize, int maxLevel, TermCriteria crit)
 
static SparsePyrLKOpticalFlow create (Size winSize, int maxLevel, TermCriteria crit, int flags)
 
static SparsePyrLKOpticalFlow create (Size winSize, int maxLevel, TermCriteria crit, int flags, double minEigThreshold)
 
- 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)
 

Public Attributes

double double maxCount
 
double type
 
double width
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.VideoModule.SparseOpticalFlow
- 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.SparseOpticalFlow
- 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 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/16]

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

◆ create() [2/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in Vec2d winSize)
static

◆ create() [3/16]

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

◆ create() [4/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in Vec2d winSize,
int maxLevel,
in Vec3d crit )
static

◆ create() [5/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in Vec2d winSize,
int maxLevel,
in Vec3d crit,
int flags )
static

◆ create() [6/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in Vec2d winSize,
int maxLevel,
in Vec3d crit,
int flags,
double minEigThreshold )
static

◆ create() [7/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in(double width, double height) winSize)
static

◆ create() [8/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in(double width, double height) winSize,
int maxLevel )
static

◆ create() [9/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in(double width, double height) winSize,
int maxLevel,
in(double type, double maxCount, double epsilon) crit )
static

◆ create() [10/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in(double width, double height) winSize,
int maxLevel,
in(double type, double maxCount, double epsilon) crit,
int flags )
static

◆ create() [11/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( in(double width, double height) winSize,
int maxLevel,
in(double type, double maxCount, double epsilon) crit,
int flags,
double minEigThreshold )
static

◆ create() [12/16]

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

◆ create() [13/16]

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

◆ create() [14/16]

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

◆ create() [15/16]

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

◆ create() [16/16]

static SparsePyrLKOpticalFlow OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.create ( Size winSize,
int maxLevel,
TermCriteria crit,
int flags,
double minEigThreshold )
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 ( )

◆ getTermCriteriaAsValueTuple()

double double double epsilon OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getTermCriteriaAsValueTuple ( )

◆ getTermCriteriaAsVec3d()

Vec3d OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getTermCriteriaAsVec3d ( )

◆ getWinSize()

Size OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getWinSize ( )

◆ getWinSizeAsValueTuple()

double double height OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getWinSizeAsValueTuple ( )

◆ getWinSizeAsVec2d()

Vec2d OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.getWinSizeAsVec2d ( )

◆ 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() [1/3]

void OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.setTermCriteria ( in Vec3d crit)

◆ setTermCriteria() [2/3]

void OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.setTermCriteria ( in(double type, double maxCount, double epsilon) crit)

◆ setTermCriteria() [3/3]

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

◆ setWinSize() [1/3]

void OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.setWinSize ( in Vec2d winSize)

◆ setWinSize() [2/3]

void OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.setWinSize ( in(double width, double height) winSize)

◆ setWinSize() [3/3]

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

Member Data Documentation

◆ maxCount

double double OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.maxCount

◆ type

double OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.type

◆ width

double OpenCVForUnity.VideoModule.SparsePyrLKOpticalFlow.width

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