Table of Contents

Class MSDDetector

Namespace
OpenCvSharp.XFeatures2D
Assembly
OpenCvSharp.dll

Class implementing the MSD (Maximal Self-Dissimilarity) keypoint detector.

public class MSDDetector : Feature2D, IDisposable
Inheritance
MSDDetector
Implements
Inherited Members

Properties

ComputeOrientation

Flag to compute the keypoints orientation.

public bool ComputeOrientation { get; set; }

Property Value

bool

KNN

Number of nearest neighbors.

public int KNN { get; set; }

Property Value

int

NScales

Number of scales for the scale pyramid (-1 = auto).

public int NScales { get; set; }

Property Value

int

NmsRadius

Non maxima suppression radius.

public int NmsRadius { get; set; }

Property Value

int

NmsScaleRadius

Non maxima suppression radius in scale space.

public int NmsScaleRadius { get; set; }

Property Value

int

PatchRadius

Patch radius.

public int PatchRadius { get; set; }

Property Value

int

ScaleFactor

Scale factor for building up the scale pyramid.

public float ScaleFactor { get; set; }

Property Value

float

SearchAreaRadius

Search area radius.

public int SearchAreaRadius { get; set; }

Property Value

int

ThSaliency

Saliency threshold.

public float ThSaliency { get; set; }

Property Value

float

Methods

Create(int, int, int, int, float, int, float, int, bool)

Creates the MSD detector.

public static MSDDetector Create(int patchRadius = 3, int searchAreaRadius = 5, int nmsRadius = 5, int nmsScaleRadius = 0, float thSaliency = 250, int kNN = 4, float scaleFactor = 1.25, int nScales = -1, bool computeOrientation = false)

Parameters

patchRadius int

Patch radius.

searchAreaRadius int

Search area radius.

nmsRadius int

Non maxima suppression radius.

nmsScaleRadius int

Non maxima suppression radius in scale space.

thSaliency float

Saliency threshold.

kNN int

Number of nearest neighbors.

scaleFactor float

Scale factor for building up the scale pyramid.

nScales int

Number of scales for the scale pyramid (-1 = auto).

computeOrientation bool

Flag to compute the keypoints orientation.

Returns

MSDDetector