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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSparsePyrLKOpticalFlow(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.video.SparseOpticalFlow
calc, calc
-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static SparsePyrLKOpticalFlow __fromPtr__(long addr)
-
getWinSize
public Size getWinSize()
-
setWinSize
public void setWinSize(Size winSize)
-
getMaxLevel
public int getMaxLevel()
-
setMaxLevel
public void setMaxLevel(int maxLevel)
-
getTermCriteria
public TermCriteria getTermCriteria()
-
setTermCriteria
public void setTermCriteria(TermCriteria crit)
-
getFlags
public int getFlags()
-
setFlags
public void setFlags(int flags)
-
getMinEigThreshold
public double getMinEigThreshold()
-
setMinEigThreshold
public void setMinEigThreshold(double minEigThreshold)
-
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
public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit)
-
create
public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel)
-
create
public static SparsePyrLKOpticalFlow create(Size winSize)
-
create
public static SparsePyrLKOpticalFlow create()
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classSparseOpticalFlow- Throws:
java.lang.Throwable
-
-