Class cv::SparsePyrLKOpticalFlow#
Class used for calculating a sparse optical flow. View details
#include <opencv2/video/tracking.hpp>Collaboration diagram for cv::SparsePyrLKOpticalFlow:
Public Member Functions#
Public Member Functions inherited from cv::SparseOpticalFlow
Return |
Name |
Description |
|---|---|---|
|
Calculates a sparse optical flow. |
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
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
Member Function Documentation#
getFlags()#
int cv::SparsePyrLKOpticalFlow::getFlags()
Python:
cv.SparsePyrLKOpticalFlow.getFlags() -> retval
getMaxLevel()#
int cv::SparsePyrLKOpticalFlow::getMaxLevel()
Python:
cv.SparsePyrLKOpticalFlow.getMaxLevel() -> retval
getMinEigThreshold()#
double cv::SparsePyrLKOpticalFlow::getMinEigThreshold()
Python:
cv.SparsePyrLKOpticalFlow.getMinEigThreshold() -> retval
getTermCriteria()#
TermCriteria cv::SparsePyrLKOpticalFlow::getTermCriteria()
Python:
cv.SparsePyrLKOpticalFlow.getTermCriteria() -> retval
getWinSize()#
Size cv::SparsePyrLKOpticalFlow::getWinSize()
Python:
cv.SparsePyrLKOpticalFlow.getWinSize() -> retval
setFlags()#
void cv::SparsePyrLKOpticalFlow::setFlags(int flags)
Python:
cv.SparsePyrLKOpticalFlow.setFlags(flags)
setMaxLevel()#
void cv::SparsePyrLKOpticalFlow::setMaxLevel(int maxLevel)
Python:
cv.SparsePyrLKOpticalFlow.setMaxLevel(maxLevel)
setMinEigThreshold()#
void cv::SparsePyrLKOpticalFlow::setMinEigThreshold(double minEigThreshold)
Python:
cv.SparsePyrLKOpticalFlow.setMinEigThreshold(minEigThreshold)
setTermCriteria()#
void cv::SparsePyrLKOpticalFlow::setTermCriteria(TermCriteria & crit)
Python:
cv.SparsePyrLKOpticalFlow.setTermCriteria(crit)
setWinSize()#
void cv::SparsePyrLKOpticalFlow::setWinSize(Size winSize)
Python:
cv.SparsePyrLKOpticalFlow.setWinSize(winSize)
create()#
static Ptr< SparsePyrLKOpticalFlow > cv::SparsePyrLKOpticalFlow::create(
Size winSize = Size(21, 21),
int maxLevel = 3,
TermCriteria crit = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01),
int flags = 0,
double minEigThreshold = 1e-4 )
Python:
cv.SparsePyrLKOpticalFlow.create([, winSize[, maxLevel[, crit[, flags[, minEigThreshold]]]]]) -> retval
cv.SparsePyrLKOpticalFlow_create([, winSize[, maxLevel[, crit[, flags[, minEigThreshold]]]]]) -> retval
Source file#
The documentation for this class was generated from the following file:
opencv2/video/tracking.hpp