类 VGG
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.xfeatures2d.VGG
-
public class VGG extends Feature2D
实现 VGG (牛津视觉几何组) 描述符的类,该描述符使用 CITE: Simonyan14 中描述的 "使用凸优化的描述符学习" (DLCO) 装置进行端到端训练。 desc 要使用的描述符类型,VGG::VGG_120 是默认值(120 维浮点数)。可用类型为 VGG::VGG_120、VGG::VGG_80、VGG::VGG_64、VGG::VGG_48。isigma 图像模糊的高斯核值(默认为 1.4f)。img_normalize 使用图像样本强度归一化(默认启用)。use_orientation 使用关键点方向对样本模式进行采样(默认启用)。scale_factor 将检测到的关键点的采样窗口调整为 64.0f(VGG 采样窗口)。6.25f 是默认值,适用于 KAZE、SURF 检测到的关键点窗口比率。6.75f 应该是 SIFT 检测到的关键点窗口比率的比例。5.00f 应该是 AKAZE、MSD、AGAST、FAST、BRISK 关键点窗口比率的比例。0.75f 应该是 ORB 关键点比率的比例。dsc_normalize 将描述符钳制为 255 并转换为 uchar CV_8UC1(默认禁用)。
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 保护VGG(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static VGG__fromPtr__(long addr)static VGGcreate()static VGGcreate(int desc)static VGGcreate(int desc, float isigma)static VGGcreate(int desc, float isigma, boolean img_normalize)static VGGcreate(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation)static VGGcreate(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor)static VGGcreate(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor, boolean dsc_normalize)protected voidfinalize()java.lang.StringgetDefaultName()返回算法字符串标识符。floatgetScaleFactor()floatgetSigma()booleangetUseNormalizeDescriptor()booleangetUseNormalizeImage()booleangetUseScaleOrientation()voidsetScaleFactor(float scale_factor)voidsetSigma(float isigma)voidsetUseNormalizeDescriptor(boolean dsc_normalize)voidsetUseNormalizeImage(boolean img_normalize)voidsetUseScaleOrientation(boolean use_scale_orientation)-
从类继承的方法 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 VGG __fromPtr__(long addr)
-
create
public static VGG create(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor, boolean dsc_normalize)
-
create
public static VGG create(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor)
-
create
public static VGG create(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation)
-
create
public static VGG create(int desc, float isigma, boolean img_normalize)
-
create
public static VGG create(int desc, float isigma)
-
create
public static VGG create(int desc)
-
create
public static VGG create()
-
getDefaultName
public java.lang.String getDefaultName()
从类复制的描述:Algorithm返回算法字符串标识符。当对象保存到文件或字符串时,此字符串用作顶级 xml/yml 节点标记。- 重写
getDefaultName在类中Feature2D- 返回
- 自动生成
-
setSigma
public void setSigma(float isigma)
-
getSigma
public float getSigma()
-
setUseNormalizeImage
public void setUseNormalizeImage(boolean img_normalize)
-
getUseNormalizeImage
public boolean getUseNormalizeImage()
-
setUseScaleOrientation
public void setUseScaleOrientation(boolean use_scale_orientation)
-
getUseScaleOrientation
public boolean getUseScaleOrientation()
-
setScaleFactor
public void setScaleFactor(float scale_factor)
-
getScaleFactor
public float getScaleFactor()
-
setUseNormalizeDescriptor
public void setUseNormalizeDescriptor(boolean dsc_normalize)
-
getUseNormalizeDescriptor
public boolean getUseNormalizeDescriptor()
-
-