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

ALIKED feature detector and descriptor extractor. More...

Static Public Member Functions

static new ALIKED __fromPtr__ (IntPtr addr)
 
static ALIKED create (string modelPath)
 Creates ALIKED from a model file path.
 
static ALIKED create (string modelPath, ALIKED_Params _params)
 Creates ALIKED from a model file path.
 
- Static Public Member Functions inherited from OpenCVForUnity.FeaturesModule.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)
 Returns the native pointer, or throws CoreModule.CvException if it is zero.
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.FeaturesModule.Feature2D
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 Initializes a new instance with a zero native pointer and dispose enabled.
 
 DisposableOpenCVObject (bool isEnabledDispose)
 Initializes a new instance with a zero native pointer.
 
 DisposableOpenCVObject (IntPtr ptr)
 Initializes a new instance with the specified native pointer and dispose enabled.
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 Initializes a new instance with the specified native pointer.
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 Initializes a new instance with dispose enabled.
 
 DisposableObject (bool isEnabledDispose)
 Initializes a new instance.
 

Additional Inherited Members

- Public Member Functions inherited from OpenCVForUnity.FeaturesModule.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.
 
override string getDefaultName ()
 
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 ()
 Releases resources used by this object.
 
void ThrowIfDisposed ()
 Throws ObjectDisposedException if this object has been disposed.
 
- Package Functions inherited from OpenCVForUnity.FeaturesModule.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

ALIKED feature detector and descriptor extractor.

ALIKED (A Lightweight Image KEYpoint Detector) is a CNN-based feature detector and descriptor extractor, as described in [Zhao23] . It produces 128-dimensional float descriptors and keypoints with sub-pixel accuracy.

The model expects RGB input [1,3,H,W] and internally converts BGR images to RGB.

Member Function Documentation

◆ __fromPtr__()

static new ALIKED OpenCVForUnity.FeaturesModule.ALIKED.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/2]

static ALIKED OpenCVForUnity.FeaturesModule.ALIKED.create ( string modelPath)
static

Creates ALIKED from a model file path.

Parameters
modelPathPath to the ONNX model file.
paramsALIKED parameters.

◆ create() [2/2]

static ALIKED OpenCVForUnity.FeaturesModule.ALIKED.create ( string modelPath,
ALIKED_Params _params )
static

Creates ALIKED from a model file path.

Parameters
modelPathPath to the ONNX model file.
paramsALIKED parameters.

◆ Dispose()

override void OpenCVForUnity.FeaturesModule.ALIKED.Dispose ( bool disposing)
protectedvirtual

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