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

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

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

Public Member Functions

void setViewParams (MatOfFloat tilts, MatOfFloat rolls)
 
void getViewParams (MatOfFloat tilts, MatOfFloat rolls)
 
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...
 
override string getDefaultName ()
 
- 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 AffineFeature __fromPtr__ (IntPtr addr)
 
static AffineFeature create (Feature2D backend, int maxTilt, int minTilt, float tiltStep, float rotateStepBase)
 
static AffineFeature create (Feature2D backend, int maxTilt, int minTilt, float tiltStep)
 
static AffineFeature create (Feature2D backend, int maxTilt, int minTilt)
 
static AffineFeature create (Feature2D backend, int maxTilt)
 
static AffineFeature create (Feature2D backend)
 
- 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.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 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,
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.

◆ create() [2/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() [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 
)
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)
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

◆ 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: