类 GFTTDetector
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.features2d.GFTTDetector
-
public class GFTTDetector extends Feature2D
使用 goodFeaturesToTrack 函数进行特征检测的包装类。
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 保护GFTTDetector(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static GFTTDetector__fromPtr__(long addr)static GFTTDetectorcreate()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)
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector, double k)
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, boolean useHarrisDetector)
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize)
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance)
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel)
-
create
public static GFTTDetector create(int maxCorners)
-
create
public static GFTTDetector create()
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector, double k)
-
create
public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, boolean useHarrisDetector)
-
create
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- 返回
- 自动生成
-
-