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.HarrisLaplaceFeatureDetector Class Reference

Class implementing the Harris-Laplace feature detector as described in [Mikolajczyk2004]. More...

Public Member Functions

float getCornThresh ()
 
override string getDefaultName ()
 
float getDOGThresh ()
 
int getMaxCorners ()
 
int getNumLayers ()
 
int getNumOctaves ()
 
void setCornThresh (float corn_thresh_)
 
void setDOGThresh (float DOG_thresh_)
 
void setMaxCorners (int maxCorners_)
 
void setNumLayers (int num_layers_)
 
void setNumOctaves (int numOctaves_)
 
- 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 HarrisLaplaceFeatureDetector __fromPtr__ (IntPtr addr)
 
static HarrisLaplaceFeatureDetector create ()
 Creates a new implementation instance.
 
static HarrisLaplaceFeatureDetector create (int numOctaves)
 Creates a new implementation instance.
 
static HarrisLaplaceFeatureDetector create (int numOctaves, float corn_thresh)
 Creates a new implementation instance.
 
static HarrisLaplaceFeatureDetector create (int numOctaves, float corn_thresh, float DOG_thresh)
 Creates a new implementation instance.
 
static HarrisLaplaceFeatureDetector create (int numOctaves, float corn_thresh, float DOG_thresh, int maxCorners)
 Creates a new implementation instance.
 
static HarrisLaplaceFeatureDetector create (int numOctaves, float corn_thresh, float DOG_thresh, int maxCorners, int num_layers)
 Creates a new implementation instance.
 
- 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 Harris-Laplace feature detector as described in [Mikolajczyk2004].

Member Function Documentation

◆ __fromPtr__()

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

◆ create() [1/6]

static HarrisLaplaceFeatureDetector OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.create ( )
static

Creates a new implementation instance.

Parameters
numOctavesthe number of octaves in the scale-space pyramid
corn_threshthe threshold for the Harris cornerness measure
DOG_threshthe threshold for the Difference-of-Gaussians scale selection
maxCornersthe maximum number of corners to consider
num_layersthe number of intermediate scales per octave

◆ create() [2/6]

static HarrisLaplaceFeatureDetector OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.create ( int numOctaves)
static

Creates a new implementation instance.

Parameters
numOctavesthe number of octaves in the scale-space pyramid
corn_threshthe threshold for the Harris cornerness measure
DOG_threshthe threshold for the Difference-of-Gaussians scale selection
maxCornersthe maximum number of corners to consider
num_layersthe number of intermediate scales per octave

◆ create() [3/6]

static HarrisLaplaceFeatureDetector OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.create ( int numOctaves,
float corn_thresh )
static

Creates a new implementation instance.

Parameters
numOctavesthe number of octaves in the scale-space pyramid
corn_threshthe threshold for the Harris cornerness measure
DOG_threshthe threshold for the Difference-of-Gaussians scale selection
maxCornersthe maximum number of corners to consider
num_layersthe number of intermediate scales per octave

◆ create() [4/6]

static HarrisLaplaceFeatureDetector OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.create ( int numOctaves,
float corn_thresh,
float DOG_thresh )
static

Creates a new implementation instance.

Parameters
numOctavesthe number of octaves in the scale-space pyramid
corn_threshthe threshold for the Harris cornerness measure
DOG_threshthe threshold for the Difference-of-Gaussians scale selection
maxCornersthe maximum number of corners to consider
num_layersthe number of intermediate scales per octave

◆ create() [5/6]

static HarrisLaplaceFeatureDetector OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.create ( int numOctaves,
float corn_thresh,
float DOG_thresh,
int maxCorners )
static

Creates a new implementation instance.

Parameters
numOctavesthe number of octaves in the scale-space pyramid
corn_threshthe threshold for the Harris cornerness measure
DOG_threshthe threshold for the Difference-of-Gaussians scale selection
maxCornersthe maximum number of corners to consider
num_layersthe number of intermediate scales per octave

◆ create() [6/6]

static HarrisLaplaceFeatureDetector OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.create ( int numOctaves,
float corn_thresh,
float DOG_thresh,
int maxCorners,
int num_layers )
static

Creates a new implementation instance.

Parameters
numOctavesthe number of octaves in the scale-space pyramid
corn_threshthe threshold for the Harris cornerness measure
DOG_threshthe threshold for the Difference-of-Gaussians scale selection
maxCornersthe maximum number of corners to consider
num_layersthe number of intermediate scales per octave

◆ Dispose()

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

◆ getCornThresh()

float OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.getCornThresh ( )

◆ getDefaultName()

override string OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.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.

◆ getDOGThresh()

float OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.getDOGThresh ( )

◆ getMaxCorners()

int OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.getMaxCorners ( )

◆ getNumLayers()

int OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.getNumLayers ( )

◆ getNumOctaves()

int OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.getNumOctaves ( )

◆ setCornThresh()

void OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.setCornThresh ( float corn_thresh_)

◆ setDOGThresh()

void OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.setDOGThresh ( float DOG_thresh_)

◆ setMaxCorners()

void OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.setMaxCorners ( int maxCorners_)

◆ setNumLayers()

void OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.setNumLayers ( int num_layers_)

◆ setNumOctaves()

void OpenCVForUnity.Xfeatures2dModule.HarrisLaplaceFeatureDetector.setNumOctaves ( int numOctaves_)

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