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

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

Public Member Functions

float computeQuadraticFormDistance (Mat _signature0, Mat _signature1)
 Computes Signature Quadratic Form Distance of two signatures.
 
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.
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
virtual void clear ()
 Clears the algorithm state.
 
virtual bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
virtual string getDefaultName ()
 
IntPtr getNativeObjAddr ()
 
void save (string filename)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new PCTSignaturesSQFD __fromPtr__ (IntPtr addr)
 
static PCTSignaturesSQFD create ()
 Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.
 
static PCTSignaturesSQFD create (int distanceFunction)
 Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.
 
static PCTSignaturesSQFD create (int distanceFunction, int similarityFunction)
 Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.
 
static PCTSignaturesSQFD create (int distanceFunction, int similarityFunction, float similarityParameter)
 Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.
 
- 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.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.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 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 ( )
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)
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,
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() [4/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.

◆ Dispose()

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

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