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

Class implementing Signature Quadratic Form Distance (SQFD). More...

Inheritance diagram for OpenCVForUnity.Xfeatures2dModule.PCTSignaturesSQFD:
OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

float computeQuadraticFormDistance (Mat _signature0, Mat _signature1)
 Computes Signature Quadratic Form Distance of two signatures. More...
 
void computeQuadraticFormDistances (Mat sourceSignature, List< Mat > imageSignatures, MatOfFloat distances)
 Computes Signature Quadratic Form Distance between the reference signature and each of the other image signatures. More...
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
IntPtr getNativeObjAddr ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
void save (string filename)
 
virtual string getDefaultName ()
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new PCTSignaturesSQFD __fromPtr__ (IntPtr addr)
 
static PCTSignaturesSQFD create (int distanceFunction, int similarityFunction, float similarityParameter)
 Creates the algorithm instance using selected distance function, similarity function and similarity function parameter. More...
 
static PCTSignaturesSQFD create (int distanceFunction, int similarityFunction)
 Creates the algorithm instance using selected distance function, similarity function and similarity function parameter. More...
 
static PCTSignaturesSQFD create (int distanceFunction)
 Creates the algorithm instance using selected distance function, similarity function and similarity function parameter. More...
 
static PCTSignaturesSQFD create ()
 Creates the algorithm instance using selected distance function, similarity function and similarity function parameter. More...
 
- 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 Signature Quadratic Form Distance (SQFD).

See also
Christian Beecks, Merih Seran Uysal, Thomas Seidl. Signature quadratic form distance. In Proceedings of the ACM International Conference on Image and Video Retrieval, pages 438-445. ACM, 2010. [BeecksUS10]

Member Function Documentation

◆ __fromPtr__()

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

◆ computeQuadraticFormDistance()

float OpenCVForUnity.Xfeatures2dModule.PCTSignaturesSQFD.computeQuadraticFormDistance ( Mat  _signature0,
Mat  _signature1 
)

Computes Signature Quadratic Form Distance of two signatures.

Parameters
_signature0The first signature.
_signature1The second signature.

◆ computeQuadraticFormDistances()

void OpenCVForUnity.Xfeatures2dModule.PCTSignaturesSQFD.computeQuadraticFormDistances ( Mat  sourceSignature,
List< Mat imageSignatures,
MatOfFloat  distances 
)

Computes Signature Quadratic Form Distance between the reference signature and each of the other image signatures.

Parameters
sourceSignatureThe signature to measure distance of other signatures from.
imageSignaturesVector of signatures to measure distance from the source signature.
distancesOutput vector of measured distances.

◆ create() [1/4]

static PCTSignaturesSQFD OpenCVForUnity.Xfeatures2dModule.PCTSignaturesSQFD.create ( int  distanceFunction,
int  similarityFunction,
float  similarityParameter 
)
static

Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.

Parameters
distanceFunctionDistance function selector. Default: L2 Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY
similarityFunctionSimilarity function selector. Default: HEURISTIC Available: MINUS, GAUSSIAN, HEURISTIC
similarityParameterParameter of the similarity function.

◆ create() [2/4]

static PCTSignaturesSQFD OpenCVForUnity.Xfeatures2dModule.PCTSignaturesSQFD.create ( int  distanceFunction,
int  similarityFunction 
)
static

Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.

Parameters
distanceFunctionDistance function selector. Default: L2 Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY
similarityFunctionSimilarity function selector. Default: HEURISTIC Available: MINUS, GAUSSIAN, HEURISTIC
similarityParameterParameter of the similarity function.

◆ create() [3/4]

static PCTSignaturesSQFD OpenCVForUnity.Xfeatures2dModule.PCTSignaturesSQFD.create ( int  distanceFunction)
static

Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.

Parameters
distanceFunctionDistance function selector. Default: L2 Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY
similarityFunctionSimilarity function selector. Default: HEURISTIC Available: MINUS, GAUSSIAN, HEURISTIC
similarityParameterParameter of the similarity function.

◆ create() [4/4]

static PCTSignaturesSQFD OpenCVForUnity.Xfeatures2dModule.PCTSignaturesSQFD.create ( )
static

Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.

Parameters
distanceFunctionDistance function selector. Default: L2 Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY
similarityFunctionSimilarity function selector. Default: HEURISTIC Available: MINUS, GAUSSIAN, HEURISTIC
similarityParameterParameter of the similarity function.

◆ Dispose()

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

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