Package org.opencv.video
Class SparsePyrLKOpticalFlow
java.lang.Object
org.opencv.core.Algorithm
org.opencv.video.SparseOpticalFlow
org.opencv.video.SparsePyrLKOpticalFlow
public class SparsePyrLKOpticalFlow extends SparseOpticalFlow
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: calcOpticalFlowPyrLK
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedSparsePyrLKOpticalFlow(long addr) -
Method Summary
Modifier and Type Method Description static SparsePyrLKOpticalFlow__fromPtr__(long addr)static SparsePyrLKOpticalFlowcreate()static SparsePyrLKOpticalFlowcreate(Size winSize)static SparsePyrLKOpticalFlowcreate(Size winSize, int maxLevel)static SparsePyrLKOpticalFlowcreate(Size winSize, int maxLevel, TermCriteria crit)static SparsePyrLKOpticalFlowcreate(Size winSize, int maxLevel, TermCriteria crit, int flags)static SparsePyrLKOpticalFlowcreate(Size winSize, int maxLevel, TermCriteria crit, int flags, double minEigThreshold)protected voidfinalize()intgetFlags()intgetMaxLevel()doublegetMinEigThreshold()TermCriteriagetTermCriteria()SizegetWinSize()voidsetFlags(int flags)voidsetMaxLevel(int maxLevel)voidsetMinEigThreshold(double minEigThreshold)voidsetTermCriteria(TermCriteria crit)voidsetWinSize(Size winSize)Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
Constructor Details
-
Method Details
-
__fromPtr__
-
getWinSize
-
setWinSize
-
getMaxLevel
-
setMaxLevel
-
getTermCriteria
-
setTermCriteria
-
getFlags
-
setFlags
-
getMinEigThreshold
-
setMinEigThreshold
-
create
public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit, int flags, double minEigThreshold) -
create
public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit, int flags) -
create
-
create
-
create
-
create
-
finalize
- Overrides:
finalizein classSparseOpticalFlow- Throws:
Throwable
-