类 FarnebackOpticalFlow
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.video.DenseOpticalFlow
-
- org.opencv.video.FarnebackOpticalFlow
-
public class FarnebackOpticalFlow extends DenseOpticalFlow
使用 Gunnar Farneback 算法计算稠密光流的类。
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 保护FarnebackOpticalFlow(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static FarnebackOpticalFlow__fromPtr__(long addr)static FarnebackOpticalFlowcreate()static FarnebackOpticalFlowcreate(int numLevels)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma, int flags)protected voidfinalize()booleangetFastPyramids()intgetFlags()intgetNumIters()intgetNumLevels()intgetPolyN()doublegetPolySigma()doublegetPyrScale()intgetWinSize()voidsetFastPyramids(boolean fastPyramids)voidsetFlags(int flags)voidsetNumIters(int numIters)voidsetNumLevels(int numLevels)voidsetPolyN(int polyN)voidsetPolySigma(double polySigma)voidsetPyrScale(double pyrScale)voidsetWinSize(int winSize)-
从类继承的方法 org.opencv.video.DenseOpticalFlow
calc, collectGarbage
-
从类继承的方法 org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
方法详细信息
-
__fromPtr__
public static FarnebackOpticalFlow __fromPtr__(long addr)
-
getNumLevels
public int getNumLevels()
-
setNumLevels
public void setNumLevels(int numLevels)
-
getPyrScale
public double getPyrScale()
-
setPyrScale
public void setPyrScale(double pyrScale)
-
getFastPyramids
public boolean getFastPyramids()
-
setFastPyramids
public void setFastPyramids(boolean fastPyramids)
-
getWinSize
public int getWinSize()
-
setWinSize
public void setWinSize(int winSize)
-
getNumIters
public int getNumIters()
-
setNumIters
public void setNumIters(int numIters)
-
getPolyN
public int getPolyN()
-
setPolyN
public void setPolyN(int polyN)
-
getPolySigma
public double getPolySigma()
-
setPolySigma
public void setPolySigma(double polySigma)
-
getFlags
public int getFlags()
-
setFlags
public void setFlags(int flags)
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma, int flags)
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma)
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN)
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters)
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize)
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids)
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale)
-
create
public static FarnebackOpticalFlow create(int numLevels)
-
create
public static FarnebackOpticalFlow create()
-
finalize
protected void finalize() throws java.lang.Throwable- 重写
finalize在类中DenseOpticalFlow- 抛出
java.lang.Throwable
-
-