类 SparsePyrLKOpticalFlow
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.video.SparseOpticalFlow
-
- org.opencv.video.SparsePyrLKOpticalFlow
-
public class SparsePyrLKOpticalFlow extends SparseOpticalFlow
用于计算稀疏光流的类。该类可以使用带有金字塔的迭代Lucas-Kanade方法计算稀疏特征集的光流。参见:calcOpticalFlowPyrLK
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 protected
SparsePyrLKOpticalFlow(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static SparsePyrLKOpticalFlow
__fromPtr__(long addr)
static SparsePyrLKOpticalFlow
创建()
static SparsePyrLKOpticalFlow
create(Size winSize)
static SparsePyrLKOpticalFlow
create(Size winSize, int maxLevel)
static SparsePyrLKOpticalFlow
create(Size winSize, int maxLevel, TermCriteria crit)
static SparsePyrLKOpticalFlow
create(Size winSize, int maxLevel, TermCriteria crit, int flags)
static SparsePyrLKOpticalFlow
create(Size winSize, int maxLevel, TermCriteria crit, int flags, double minEigThreshold)
protected void
finalize()
int
getFlags()
int
getMaxLevel()
double
getMinEigThreshold()
TermCriteria
getTermCriteria()
Size
getWinSize()
void
setFlags(int flags)
void
setMaxLevel(int maxLevel)
void
setMinEigThreshold(double minEigThreshold)
void
setTermCriteria(TermCriteria crit)
void
setWinSize(Size winSize)
-
继承自类 org.opencv.video.SparseOpticalFlow 的方法
calc, calc
-
继承自类 org.opencv.core.Algorithm 的方法
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
方法详情
-
__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)
-
创建
public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit, int flags, double minEigThreshold)
-
创建
public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit, int flags)
-
创建
public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit)
-
创建
public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel)
-
创建
public static SparsePyrLKOpticalFlow create(Size winSize)
-
创建
public static SparsePyrLKOpticalFlow create()
-
finalize
protected void finalize() throws java.lang.Throwable
- 重写
finalize
在类SparseOpticalFlow
中- 抛出
java.lang.Throwable
-
-