OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.Xfeatures2dModule.MSDDetector Class Reference

Class implementing the MSD (Maximal Self-Dissimilarity) keypoint detector, described in [Tombari14]. More...

Public Member Functions

bool getComputeOrientation ()
 
override string getDefaultName ()
 
int getKNN ()
 
int getNmsRadius ()
 
int getNmsScaleRadius ()
 
int getNScales ()
 
int getPatchRadius ()
 
float getScaleFactor ()
 
int getSearchAreaRadius ()
 
float getThSaliency ()
 
void setComputeOrientation (bool compute_orientation)
 
void setKNN (int kNN)
 
void setNmsRadius (int nms_radius)
 
void setNmsScaleRadius (int nms_scale_radius)
 
void setNScales (int use_orientation)
 
void setPatchRadius (int patch_radius)
 
void setScaleFactor (float scale_factor)
 
void setSearchAreaRadius (int use_orientation)
 
void setThSaliency (float th_saliency)
 
- Public Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
void compute (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > descriptors)
 
void compute (Mat image, MatOfKeyPoint keypoints, Mat descriptors)
 Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant).
 
int defaultNorm ()
 
int descriptorSize ()
 
int descriptorType ()
 
void detect (List< Mat > images, List< MatOfKeyPoint > keypoints)
 
void detect (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > masks)
 
void detect (Mat image, MatOfKeyPoint keypoints)
 Detects keypoints in an image (first variant) or image set (second variant).
 
void detect (Mat image, MatOfKeyPoint keypoints, Mat mask)
 Detects keypoints in an image (first variant) or image set (second variant).
 
void detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors)
 
void detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors, bool useProvidedKeypoints)
 
override bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
void read (string fileName)
 
void write (string fileName)
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
virtual void clear ()
 Clears the algorithm state.
 
IntPtr getNativeObjAddr ()
 
void save (string filename)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new MSDDetector __fromPtr__ (IntPtr addr)
 
static MSDDetector create ()
 
static MSDDetector create (int m_patch_radius)
 
static MSDDetector create (int m_patch_radius, int m_search_area_radius)
 
static MSDDetector create (int m_patch_radius, int m_search_area_radius, int m_nms_radius)
 
static MSDDetector create (int m_patch_radius, int m_search_area_radius, int m_nms_radius, int m_nms_scale_radius)
 
static MSDDetector create (int m_patch_radius, int m_search_area_radius, int m_nms_radius, int m_nms_scale_radius, float m_th_saliency)
 
static MSDDetector create (int m_patch_radius, int m_search_area_radius, int m_nms_radius, int m_nms_scale_radius, float m_th_saliency, int m_kNN)
 
static MSDDetector create (int m_patch_radius, int m_search_area_radius, int m_nms_radius, int m_nms_scale_radius, float m_th_saliency, int m_kNN, float m_scale_factor)
 
static MSDDetector create (int m_patch_radius, int m_search_area_radius, int m_nms_radius, int m_nms_scale_radius, float m_th_saliency, int m_kNN, float m_scale_factor, int m_n_scales)
 
static MSDDetector create (int m_patch_radius, int m_search_area_radius, int m_nms_radius, int m_nms_scale_radius, float m_th_saliency, int m_kNN, float m_scale_factor, int m_n_scales, bool m_compute_orientation)
 
- Static Public Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
static new Feature2D __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
static Algorithm __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
- Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Functions inherited from OpenCVForUnity.Features2dModule.Feature2D
- Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Class implementing the MSD (Maximal Self-Dissimilarity) keypoint detector, described in [Tombari14].

The algorithm implements a novel interest point detector stemming from the intuition that image patches which are highly dissimilar over a relatively large extent of their surroundings hold the property of being repeatable and distinctive. This concept of "contextual self-dissimilarity" reverses the key paradigm of recent successful techniques such as the Local Self-Similarity descriptor and the Non-Local Means filter, which build upon the presence of similar - rather than dissimilar - patches. Moreover, it extends to contextual information the local self-dissimilarity notion embedded in established detectors of corner-like interest points, thereby achieving enhanced repeatability, distinctiveness and localization accuracy.

Member Function Documentation

◆ __fromPtr__()

static new MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( )
static

◆ create() [2/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius)
static

◆ create() [3/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius,
int m_search_area_radius )
static

◆ create() [4/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius,
int m_search_area_radius,
int m_nms_radius )
static

◆ create() [5/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius,
int m_search_area_radius,
int m_nms_radius,
int m_nms_scale_radius )
static

◆ create() [6/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius,
int m_search_area_radius,
int m_nms_radius,
int m_nms_scale_radius,
float m_th_saliency )
static

◆ create() [7/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius,
int m_search_area_radius,
int m_nms_radius,
int m_nms_scale_radius,
float m_th_saliency,
int m_kNN )
static

◆ create() [8/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius,
int m_search_area_radius,
int m_nms_radius,
int m_nms_scale_radius,
float m_th_saliency,
int m_kNN,
float m_scale_factor )
static

◆ create() [9/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius,
int m_search_area_radius,
int m_nms_radius,
int m_nms_scale_radius,
float m_th_saliency,
int m_kNN,
float m_scale_factor,
int m_n_scales )
static

◆ create() [10/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( int m_patch_radius,
int m_search_area_radius,
int m_nms_radius,
int m_nms_scale_radius,
float m_th_saliency,
int m_kNN,
float m_scale_factor,
int m_n_scales,
bool m_compute_orientation )
static

◆ Dispose()

override void OpenCVForUnity.Xfeatures2dModule.MSDDetector.Dispose ( bool disposing)
protectedvirtual

◆ getComputeOrientation()

bool OpenCVForUnity.Xfeatures2dModule.MSDDetector.getComputeOrientation ( )

◆ getDefaultName()

override string OpenCVForUnity.Xfeatures2dModule.MSDDetector.getDefaultName ( )
virtual

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.

Reimplemented from OpenCVForUnity.Features2dModule.Feature2D.

◆ getKNN()

int OpenCVForUnity.Xfeatures2dModule.MSDDetector.getKNN ( )

◆ getNmsRadius()

int OpenCVForUnity.Xfeatures2dModule.MSDDetector.getNmsRadius ( )

◆ getNmsScaleRadius()

int OpenCVForUnity.Xfeatures2dModule.MSDDetector.getNmsScaleRadius ( )

◆ getNScales()

int OpenCVForUnity.Xfeatures2dModule.MSDDetector.getNScales ( )

◆ getPatchRadius()

int OpenCVForUnity.Xfeatures2dModule.MSDDetector.getPatchRadius ( )

◆ getScaleFactor()

float OpenCVForUnity.Xfeatures2dModule.MSDDetector.getScaleFactor ( )

◆ getSearchAreaRadius()

int OpenCVForUnity.Xfeatures2dModule.MSDDetector.getSearchAreaRadius ( )

◆ getThSaliency()

float OpenCVForUnity.Xfeatures2dModule.MSDDetector.getThSaliency ( )

◆ setComputeOrientation()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setComputeOrientation ( bool compute_orientation)

◆ setKNN()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setKNN ( int kNN)

◆ setNmsRadius()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setNmsRadius ( int nms_radius)

◆ setNmsScaleRadius()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setNmsScaleRadius ( int nms_scale_radius)

◆ setNScales()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setNScales ( int use_orientation)

◆ setPatchRadius()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setPatchRadius ( int patch_radius)

◆ setScaleFactor()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setScaleFactor ( float scale_factor)

◆ setSearchAreaRadius()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setSearchAreaRadius ( int use_orientation)

◆ setThSaliency()

void OpenCVForUnity.Xfeatures2dModule.MSDDetector.setThSaliency ( float th_saliency)

The documentation for this class was generated from the following file: