类 GFTTDetector
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.features2d.GFTTDetector
-
public class GFTTDetector extends Feature2D
使用 goodFeaturesToTrack 函数进行特征检测的包装类。
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 protected
GFTTDetector(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static GFTTDetector
__fromPtr__(long addr)
static GFTTDetector
创建()
static GFTTDetector
create(int maxCorners)
static GFTTDetector
create(int maxCorners, double qualityLevel)
static GFTTDetector
create(int maxCorners, double qualityLevel, double minDistance)
static GFTTDetector
create(int maxCorners, double qualityLevel, double minDistance, int blockSize)
static GFTTDetector
create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector)
static GFTTDetector
create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k)
static GFTTDetector
create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize)
static GFTTDetector
create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector)
static GFTTDetector
create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k)
protected void
finalize()
int
getBlockSize()
java.lang.String
getDefaultName()
返回算法字符串标识符。int
getGradientSize()
boolean
getHarrisDetector()
double
getK()
int
getMaxFeatures()
double
getMinDistance()
double
getQualityLevel()
void
setBlockSize(int blockSize)
void
setGradientSize(int gradientSize_)
void
setHarrisDetector(boolean val)
void
setK(double k)
void
setMaxFeatures(int maxFeatures)
void
setMinDistance(double minDistance)
void
setQualityLevel(double qlevel)
-
从类 org.opencv.features2d.Feature2D 继承的方法
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, write
-
从类 org.opencv.core.Algorithm 继承的方法
clear, getNativeObjAddr, save
-
-
-
-
方法详情
-
__fromPtr__
public static GFTTDetector __fromPtr__(long addr)
-
创建
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k)
-
创建
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector)
-
创建
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize)
-
创建
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance)
-
创建
public static GFTTDetector create(int maxCorners, double qualityLevel)
-
创建
public static GFTTDetector create(int maxCorners)
-
创建
public static GFTTDetector create()
-
创建
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k)
-
创建
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector)
-
创建
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize)
-
setMaxFeatures
public void setMaxFeatures(int maxFeatures)
-
getMaxFeatures
public int getMaxFeatures()
-
setQualityLevel
public void setQualityLevel(double qlevel)
-
getQualityLevel
public double getQualityLevel()
-
setMinDistance
public void setMinDistance(double minDistance)
-
getMinDistance
public double getMinDistance()
-
setBlockSize
public void setBlockSize(int blockSize)
-
getBlockSize
public int getBlockSize()
-
setGradientSize
public void setGradientSize(int gradientSize_)
-
getGradientSize
public int getGradientSize()
-
setHarrisDetector
public void setHarrisDetector(boolean val)
-
getHarrisDetector
public boolean getHarrisDetector()
-
setK
public void setK(double k)
-
getK
public double getK()
-
getDefaultName
public java.lang.String getDefaultName()
从类复制的描述:Algorithm
返回算法字符串标识符。将对象保存到文件或字符串时,此字符串用作顶级 xml/yml 节点标签。- 覆盖
getDefaultName
在类Feature2D
中- 返回
- 自动生成
-
-