OpenCV for Unity  2.6.3
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.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.Xfeatures2dModule.MSDDetector Class Reference

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

Inheritance diagram for OpenCVForUnity.Xfeatures2dModule.MSDDetector:
OpenCVForUnity.Features2dModule.Feature2D OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

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

Additional Inherited Members

- 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 ( 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

◆ create() [2/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() [3/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() [4/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() [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,
float  m_th_saliency 
)
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 
)
static

◆ create() [7/10]

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

◆ create() [8/10]

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

◆ create() [9/10]

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

◆ create() [10/10]

static MSDDetector OpenCVForUnity.Xfeatures2dModule.MSDDetector.create ( )
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: