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
KNN
Number of nearest neighbors.
public int KNN { get; set; }
Property Value
NScales
Number of scales for the scale pyramid (-1 = auto).
public int NScales { get; set; }
Property Value
NmsRadius
Non maxima suppression radius.
public int NmsRadius { get; set; }
Property Value
NmsScaleRadius
Non maxima suppression radius in scale space.
public int NmsScaleRadius { get; set; }
Property Value
PatchRadius
Patch radius.
public int PatchRadius { get; set; }
Property Value
ScaleFactor
Scale factor for building up the scale pyramid.
public float ScaleFactor { get; set; }
Property Value
SearchAreaRadius
Search area radius.
public int SearchAreaRadius { get; set; }
Property Value
ThSaliency
Saliency threshold.
public float ThSaliency { get; set; }
Property Value
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
patchRadiusintPatch radius.
searchAreaRadiusintSearch area radius.
nmsRadiusintNon maxima suppression radius.
nmsScaleRadiusintNon maxima suppression radius in scale space.
thSaliencyfloatSaliency threshold.
kNNintNumber of nearest neighbors.
scaleFactorfloatScale factor for building up the scale pyramid.
nScalesintNumber of scales for the scale pyramid (-1 = auto).
computeOrientationboolFlag to compute the keypoints orientation.