FarnebackOpticalFlow 类
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.video.DenseOpticalFlow
-
- org.opencv.video.FarnebackOpticalFlow
-
public class FarnebackOpticalFlow extends DenseOpticalFlow
使用Gunnar Farneback算法计算密集光流的类。
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 protected
FarnebackOpticalFlow(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static FarnebackOpticalFlow
__fromPtr__(long addr)
static FarnebackOpticalFlow
创建()
static FarnebackOpticalFlow
create(int numLevels)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma, int flags)
protected void
finalize()
boolean
getFastPyramids()
int
getFlags()
int
getNumIters()
int
getNumLevels()
int
getPolyN()
double
getPolySigma()
double
getPyrScale()
int
getWinSize()
void
setFastPyramids(boolean fastPyramids)
void
setFlags(int flags)
void
setNumIters(int numIters)
void
setNumLevels(int numLevels)
void
setPolyN(int polyN)
void
setPolySigma(double polySigma)
void
setPyrScale(double pyrScale)
void
setWinSize(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)
-
创建
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma, int flags)
-
创建
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma)
-
创建
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN)
-
创建
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters)
-
创建
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize)
-
创建
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids)
-
创建
public static FarnebackOpticalFlow create(int numLevels, double pyrScale)
-
创建
public static FarnebackOpticalFlow create(int numLevels)
-
创建
public static FarnebackOpticalFlow create()
-
finalize
protected void finalize() throws java.lang.Throwable
- 覆盖
finalize
在类DenseOpticalFlow
中- 抛出
java.lang.Throwable
-
-