HarrisLaplaceFeatureDetector 类
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.xfeatures2d.HarrisLaplaceFeatureDetector
-
public class HarrisLaplaceFeatureDetector extends Feature2D
实现Harris-Laplace特征检测器的类,如CITE: Mikolajczyk2004中所述。
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 protectedHarrisLaplaceFeatureDetector(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static HarrisLaplaceFeatureDetector__fromPtr__(long addr)static HarrisLaplaceFeatureDetector创建()创建一个新的实现实例。static HarrisLaplaceFeatureDetectorcreate(int numOctaves)创建一个新的实现实例。static HarrisLaplaceFeatureDetectorcreate(int numOctaves, float corn_thresh)创建一个新的实现实例。static HarrisLaplaceFeatureDetectorcreate(int numOctaves, float corn_thresh, float DOG_thresh)创建一个新的实现实例。static HarrisLaplaceFeatureDetectorcreate(int numOctaves, float corn_thresh, float DOG_thresh, int maxCorners)创建一个新的实现实例。static HarrisLaplaceFeatureDetectorcreate(int numOctaves, float corn_thresh, float DOG_thresh, int maxCorners, int num_layers)创建一个新的实现实例。protected voidfinalize()floatgetCornThresh()java.lang.StringgetDefaultName()返回算法字符串标识符。floatgetDOGThresh()intgetMaxCorners()intgetNumLayers()intgetNumOctaves()voidsetCornThresh(float corn_thresh_)voidsetDOGThresh(float DOG_thresh_)voidsetMaxCorners(int maxCorners_)voidsetNumLayers(int num_layers_)voidsetNumOctaves(int numOctaves_)-
从类 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 HarrisLaplaceFeatureDetector __fromPtr__(long addr)
-
创建
public static HarrisLaplaceFeatureDetector create(int numOctaves, float corn_thresh, float DOG_thresh, int maxCorners, int num_layers)
创建一个新的实现实例。- 参数
numOctaves- 尺度空间金字塔中的octave数量corn_thresh- Harris 角点度量的阈值DOG_thresh- 高斯差分尺度选择的阈值maxCorners- 要考虑的最大角点数num_layers- 每个octave的中间尺度数- 返回值
- 自动生成
-
创建
public static HarrisLaplaceFeatureDetector create(int numOctaves, float corn_thresh, float DOG_thresh, int maxCorners)
创建一个新的实现实例。- 参数
numOctaves- 尺度空间金字塔中的octave数量corn_thresh- Harris 角点度量的阈值DOG_thresh- 高斯差分尺度选择的阈值maxCorners- 要考虑的最大角点数- 返回值
- 自动生成
-
创建
public static HarrisLaplaceFeatureDetector create(int numOctaves, float corn_thresh, float DOG_thresh)
创建一个新的实现实例。- 参数
numOctaves- 尺度空间金字塔中的octave数量corn_thresh- Harris 角点度量的阈值DOG_thresh- 高斯差分尺度选择的阈值- 返回值
- 自动生成
-
创建
public static HarrisLaplaceFeatureDetector create(int numOctaves, float corn_thresh)
创建一个新的实现实例。- 参数
numOctaves- 尺度空间金字塔中的octave数量corn_thresh- Harris 角点度量的阈值- 返回值
- 自动生成
-
创建
public static HarrisLaplaceFeatureDetector create(int numOctaves)
创建一个新的实现实例。- 参数
numOctaves- 尺度空间金字塔中的octave数量- 返回值
- 自动生成
-
创建
public static HarrisLaplaceFeatureDetector create()
创建一个新的实现实例。- 返回值
- 自动生成
-
setNumOctaves
public void setNumOctaves(int numOctaves_)
-
getNumOctaves
public int getNumOctaves()
-
setCornThresh
public void setCornThresh(float corn_thresh_)
-
getCornThresh
public float getCornThresh()
-
setDOGThresh
public void setDOGThresh(float DOG_thresh_)
-
getDOGThresh
public float getDOGThresh()
-
setMaxCorners
public void setMaxCorners(int maxCorners_)
-
getMaxCorners
public int getMaxCorners()
-
setNumLayers
public void setNumLayers(int num_layers_)
-
getNumLayers
public int getNumLayers()
-
getDefaultName
public java.lang.String getDefaultName()
从类复制描述:Algorithm返回算法字符串标识符。当对象保存到文件或字符串时,此字符串用作顶级 xml/yml 节点标签。- 覆盖
getDefaultName在类Feature2D中- 返回值
- 自动生成
-
-