VGG 类
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- org.opencv.xfeatures2d.VGG
-
public class VGG extends Feature2D
实现 VGG(牛津视觉几何组)描述符的类,使用“使用凸优化进行描述符学习”(DLCO)装置端到端训练,如 CITE: Simonyan14 中所述。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(默认禁用)
-
-
构造函数摘要
构造函数 修饰符 构造函数 描述 protectedVGG(long addr)
-
方法摘要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 描述 static VGG__fromPtr__(long addr)static VGG创建()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)
-
创建
public static VGG create(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor, boolean dsc_normalize)
-
创建
public static VGG create(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation, float scale_factor)
-
创建
public static VGG create(int desc, float isigma, boolean img_normalize, boolean use_scale_orientation)
-
创建
public static VGG create(int desc, float isigma, boolean img_normalize)
-
创建
public static VGG create(int desc, float isigma)
-
创建
public static VGG create(int desc)
-
创建
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()
-
-