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.Features2dModule.AffineFeature Class Reference

Class for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in [YM11] . More...

Public Member Functions

override string getDefaultName ()
 
void getViewParams (MatOfFloat tilts, MatOfFloat rolls)
 
void setViewParams (MatOfFloat tilts, MatOfFloat rolls)
 
- 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.
 
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 ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new AffineFeature __fromPtr__ (IntPtr addr)
 
static AffineFeature create (Feature2D backend)
 
static AffineFeature create (Feature2D backend, int maxTilt)
 
static AffineFeature create (Feature2D backend, int maxTilt, int minTilt)
 
static AffineFeature create (Feature2D backend, int maxTilt, int minTilt, float tiltStep)
 
static AffineFeature create (Feature2D backend, int maxTilt, int minTilt, float tiltStep, float rotateStepBase)
 
- 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
override void Dispose (bool disposing)
 
- 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 for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in [YM11] .

Member Function Documentation

◆ __fromPtr__()

static new AffineFeature OpenCVForUnity.Features2dModule.AffineFeature.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/5]

static AffineFeature OpenCVForUnity.Features2dModule.AffineFeature.create ( Feature2D backend)
static
Parameters
backendThe detector/extractor you want to use as backend.
maxTiltThe highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.
minTiltThe lowest power index of tilt factor. 0 is used in the paper.
tiltStepTilt sampling step \(\delta_t\) in Algorithm 1 in the paper.
rotateStepBaseRotation sampling step factor b in Algorithm 1 in the paper.

◆ create() [2/5]

static AffineFeature OpenCVForUnity.Features2dModule.AffineFeature.create ( Feature2D backend,
int maxTilt )
static
Parameters
backendThe detector/extractor you want to use as backend.
maxTiltThe highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.
minTiltThe lowest power index of tilt factor. 0 is used in the paper.
tiltStepTilt sampling step \(\delta_t\) in Algorithm 1 in the paper.
rotateStepBaseRotation sampling step factor b in Algorithm 1 in the paper.

◆ create() [3/5]

static AffineFeature OpenCVForUnity.Features2dModule.AffineFeature.create ( Feature2D backend,
int maxTilt,
int minTilt )
static
Parameters
backendThe detector/extractor you want to use as backend.
maxTiltThe highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.
minTiltThe lowest power index of tilt factor. 0 is used in the paper.
tiltStepTilt sampling step \(\delta_t\) in Algorithm 1 in the paper.
rotateStepBaseRotation sampling step factor b in Algorithm 1 in the paper.

◆ create() [4/5]

static AffineFeature OpenCVForUnity.Features2dModule.AffineFeature.create ( Feature2D backend,
int maxTilt,
int minTilt,
float tiltStep )
static
Parameters
backendThe detector/extractor you want to use as backend.
maxTiltThe highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.
minTiltThe lowest power index of tilt factor. 0 is used in the paper.
tiltStepTilt sampling step \(\delta_t\) in Algorithm 1 in the paper.
rotateStepBaseRotation sampling step factor b in Algorithm 1 in the paper.

◆ create() [5/5]

static AffineFeature OpenCVForUnity.Features2dModule.AffineFeature.create ( Feature2D backend,
int maxTilt,
int minTilt,
float tiltStep,
float rotateStepBase )
static
Parameters
backendThe detector/extractor you want to use as backend.
maxTiltThe highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.
minTiltThe lowest power index of tilt factor. 0 is used in the paper.
tiltStepTilt sampling step \(\delta_t\) in Algorithm 1 in the paper.
rotateStepBaseRotation sampling step factor b in Algorithm 1 in the paper.

◆ Dispose()

override void OpenCVForUnity.Features2dModule.AffineFeature.Dispose ( bool disposing)
protectedvirtual

Reimplemented from OpenCVForUnity.DisposableObject.

◆ getDefaultName()

override string OpenCVForUnity.Features2dModule.AffineFeature.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.CoreModule.Algorithm.

◆ getViewParams()

void OpenCVForUnity.Features2dModule.AffineFeature.getViewParams ( MatOfFloat tilts,
MatOfFloat rolls )

◆ setViewParams()

void OpenCVForUnity.Features2dModule.AffineFeature.setViewParams ( MatOfFloat tilts,
MatOfFloat rolls )

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