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中所述。
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 protected
HarrisLaplaceFeatureDetector(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static HarrisLaplaceFeatureDetector
__fromPtr__(long addr)
static HarrisLaplaceFeatureDetector
创建()
创建一个新的实现实例。static HarrisLaplaceFeatureDetector
create(int numOctaves)
创建一个新的实现实例。static HarrisLaplaceFeatureDetector
create(int numOctaves, float corn_thresh)
创建一个新的实现实例。static HarrisLaplaceFeatureDetector
create(int numOctaves, float corn_thresh, float DOG_thresh)
创建一个新的实现实例。static HarrisLaplaceFeatureDetector
create(int numOctaves, float corn_thresh, float DOG_thresh, int maxCorners)
创建一个新的实现实例。static HarrisLaplaceFeatureDetector
create(int numOctaves, float corn_thresh, float DOG_thresh, int maxCorners, int num_layers)
创建一个新的实现实例。protected void
finalize()
float
getCornThresh()
java.lang.String
getDefaultName()
返回算法字符串标识符。float
getDOGThresh()
int
getMaxCorners()
int
getNumLayers()
int
getNumOctaves()
void
setCornThresh(float corn_thresh_)
void
setDOGThresh(float DOG_thresh_)
void
setMaxCorners(int maxCorners_)
void
setNumLayers(int num_layers_)
void
setNumOctaves(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
中- 返回值
- 自动生成
-
-