public class PCTSignaturesSQFD extends Algorithm
Modifier | Constructor and Description |
---|---|
protected |
PCTSignaturesSQFD(long addr) |
Modifier and Type | Method and Description |
---|---|
static PCTSignaturesSQFD |
__fromPtr__(long addr) |
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.
|
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.
|
protected void |
finalize() |
clear, empty, getDefaultName, getNativeObjAddr, save
public static PCTSignaturesSQFD __fromPtr__(long addr)
public static PCTSignaturesSQFD create(int distanceFunction, int similarityFunction, float similarityParameter)
distanceFunction
- Distance function selector. Default: L2
Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITYsimilarityFunction
- Similarity function selector. Default: HEURISTIC
Available: MINUS, GAUSSIAN, HEURISTICsimilarityParameter
- Parameter of the similarity function.public static PCTSignaturesSQFD create(int distanceFunction, int similarityFunction)
distanceFunction
- Distance function selector. Default: L2
Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITYsimilarityFunction
- Similarity function selector. Default: HEURISTIC
Available: MINUS, GAUSSIAN, HEURISTICpublic static PCTSignaturesSQFD create(int distanceFunction)
distanceFunction
- Distance function selector. Default: L2
Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY
Available: MINUS, GAUSSIAN, HEURISTICpublic static PCTSignaturesSQFD create()
public float computeQuadraticFormDistance(Mat _signature0, Mat _signature1)
_signature0
- The first signature._signature1
- The second signature.public void computeQuadraticFormDistances(Mat sourceSignature, List<Mat> imageSignatures, MatOfFloat distances)
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.Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2