Package org.opencv.video
Class SparsePyrLKOpticalFlow
java.lang.Object
org.opencv.core.Algorithm
org.opencv.video.SparseOpticalFlow
org.opencv.video.SparsePyrLKOpticalFlow
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic SparsePyrLKOpticalFlow__fromPtr__(long addr) static SparsePyrLKOpticalFlowcreate()static SparsePyrLKOpticalFlowstatic SparsePyrLKOpticalFlowstatic 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) intgetFlags()intdoublevoidsetFlags(int flags) voidsetMaxLevel(int maxLevel) voidsetMinEigThreshold(double minEigThreshold) voidsetTermCriteria(TermCriteria crit) voidsetWinSize(Size winSize) Methods inherited from class org.opencv.video.SparseOpticalFlow
calc, calcMethods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
Method Details
-
__fromPtr__
-
getWinSize
-
setWinSize
-
getMaxLevel
public int getMaxLevel() -
setMaxLevel
public void setMaxLevel(int maxLevel) -
getTermCriteria
-
setTermCriteria
-
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
-
create
-
create
-
create
-