Class VGG
- Namespace
- OpenCvSharp.XFeatures2D
- Assembly
- OpenCvSharp.dll
Class implementing the VGG (Oxford Visual Geometry Group) descriptor, trained end-to-end using "Descriptor Learning Using Convex Optimisation" (DLCO).
public class VGG : Feature2D, IDisposable
- Inheritance
-
VGG
- Implements
- Inherited Members
Properties
ScaleFactor
Adjust the sampling window of detected keypoints.
public float ScaleFactor { get; set; }
Property Value
Sigma
Gaussian kernel value for image blur.
public float Sigma { get; set; }
Property Value
UseNormalizeDescriptor
Clamp descriptors to 255 and convert to uchar CV_8UC1.
public bool UseNormalizeDescriptor { get; set; }
Property Value
UseNormalizeImage
Use image sample intensity normalization.
public bool UseNormalizeImage { get; set; }
Property Value
UseScaleOrientation
Sample patterns using keypoints orientation.
public bool UseScaleOrientation { get; set; }
Property Value
Methods
Create(VGGDescriptorType, float, bool, bool, float, bool)
Creates the VGG descriptor.
public static VGG Create(VGGDescriptorType desc = VGGDescriptorType.Vgg120, float isigma = 1.4, bool imgNormalize = true, bool useScaleOrientation = true, float scaleFactor = 6.25, bool dscNormalize = false)
Parameters
descVGGDescriptorTypeType of descriptor to use.
isigmafloatGaussian kernel value for image blur.
imgNormalizeboolUse image sample intensity normalization.
useScaleOrientationboolSample patterns using keypoints orientation.
scaleFactorfloatAdjust the sampling window of detected keypoints.
dscNormalizeboolClamp descriptors to 255 and convert to uchar CV_8UC1.