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.
|
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. 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] |
Class implementing Signature Quadratic Form Distance (SQFD).
|
static |
float OpenCVForUnity.Xfeatures2dModule.PCTSignaturesSQFD.computeQuadraticFormDistance | ( | Mat | _signature0, |
Mat | _signature1 | ||
) |
Computes Signature Quadratic Form Distance of two signatures.
_signature0 | The first signature. |
_signature1 | The second signature. |
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.
sourceSignature | The signature to measure distance of other signatures from. |
imageSignatures | Vector of signatures to measure distance from the source signature. |
distances | Output vector of measured distances. |
|
static |
Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.
distanceFunction | Distance function selector. Default: L2 Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY |
similarityFunction | Similarity function selector. Default: HEURISTIC Available: MINUS, GAUSSIAN, HEURISTIC |
similarityParameter | Parameter of the similarity function. |
|
static |
Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.
distanceFunction | Distance function selector. Default: L2 Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY |
similarityFunction | Similarity function selector. Default: HEURISTIC Available: MINUS, GAUSSIAN, HEURISTIC |
similarityParameter | Parameter of the similarity function. |
|
static |
Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.
distanceFunction | Distance function selector. Default: L2 Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY |
similarityFunction | Similarity function selector. Default: HEURISTIC Available: MINUS, GAUSSIAN, HEURISTIC |
similarityParameter | Parameter of the similarity function. |
|
static |
Creates the algorithm instance using selected distance function, similarity function and similarity function parameter.
distanceFunction | Distance function selector. Default: L2 Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY |
similarityFunction | Similarity function selector. Default: HEURISTIC Available: MINUS, GAUSSIAN, HEURISTIC |
similarityParameter | Parameter of the similarity function. |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.