Table of Contents

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

float

Sigma

Gaussian kernel value for image blur.

public float Sigma { get; set; }

Property Value

float

UseNormalizeDescriptor

Clamp descriptors to 255 and convert to uchar CV_8UC1.

public bool UseNormalizeDescriptor { get; set; }

Property Value

bool

UseNormalizeImage

Use image sample intensity normalization.

public bool UseNormalizeImage { get; set; }

Property Value

bool

UseScaleOrientation

Sample patterns using keypoints orientation.

public bool UseScaleOrientation { get; set; }

Property Value

bool

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

desc VGGDescriptorType

Type of descriptor to use.

isigma float

Gaussian kernel value for image blur.

imgNormalize bool

Use image sample intensity normalization.

useScaleOrientation bool

Sample patterns using keypoints orientation.

scaleFactor float

Adjust the sampling window of detected keypoints.

dscNormalize bool

Clamp descriptors to 255 and convert to uchar CV_8UC1.

Returns

VGG