类 GFTTDetector
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.features2d.GFTTDetector
-
public class GFTTDetector extends Feature2D
使用 goodFeaturesToTrack 函数进行特征检测的包装类。
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 protectedGFTTDetector(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static GFTTDetector__fromPtr__(long addr)static GFTTDetector创建()static GFTTDetectorcreate(int maxCorners)static GFTTDetectorcreate(int maxCorners, double qualityLevel)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector)static GFTTDetectorcreate(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k)protected voidfinalize()intgetBlockSize()java.lang.StringgetDefaultName()返回算法字符串标识符。intgetGradientSize()booleangetHarrisDetector()doublegetK()intgetMaxFeatures()doublegetMinDistance()doublegetQualityLevel()voidsetBlockSize(int blockSize)voidsetGradientSize(int gradientSize_)voidsetHarrisDetector(boolean val)voidsetK(double k)voidsetMaxFeatures(int maxFeatures)voidsetMinDistance(double minDistance)voidsetQualityLevel(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中- 返回
- 自动生成
-
-