@Namespace(value="cv::xfeatures2d") @Properties(inherit=opencv_xfeatures2d.class) public class PCTSignaturesSQFD extends Algorithm
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.
\cite BeecksUS10
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PCTSignaturesSQFD(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
computeQuadraticFormDistance(GpuMat _signature0,
GpuMat _signature1) |
float |
computeQuadraticFormDistance(Mat _signature0,
Mat _signature1)
\brief Computes Signature Quadratic Form Distance of two signatures.
|
float |
computeQuadraticFormDistance(UMat _signature0,
UMat _signature1) |
void |
computeQuadraticFormDistances(Mat sourceSignature,
MatVector imageSignatures,
float[] distances) |
void |
computeQuadraticFormDistances(Mat sourceSignature,
MatVector imageSignatures,
FloatBuffer distances) |
void |
computeQuadraticFormDistances(Mat sourceSignature,
MatVector imageSignatures,
FloatPointer distances)
\brief Computes Signature Quadratic Form Distance between the reference signature
and each of the other image signatures.
|
static PCTSignaturesSQFD |
create() |
static PCTSignaturesSQFD |
create(int distanceFunction,
int similarityFunction,
float similarityParameter)
\brief Creates the algorithm instance using selected distance function,
similarity function and similarity function parameter.
|
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public PCTSignaturesSQFD(Pointer p)
Pointer.Pointer(Pointer)
.@opencv_core.Ptr 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.@opencv_core.Ptr public static PCTSignaturesSQFD create()
public float computeQuadraticFormDistance(@ByVal Mat _signature0, @ByVal Mat _signature1)
_signature0
- The first signature._signature1
- The second signature.public float computeQuadraticFormDistance(@ByVal UMat _signature0, @ByVal UMat _signature1)
public float computeQuadraticFormDistance(@ByVal GpuMat _signature0, @ByVal GpuMat _signature1)
public void computeQuadraticFormDistances(@Const @ByRef Mat sourceSignature, @Const @ByRef MatVector imageSignatures, @StdVector FloatPointer 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.public void computeQuadraticFormDistances(@Const @ByRef Mat sourceSignature, @Const @ByRef MatVector imageSignatures, @StdVector FloatBuffer distances)
Copyright © 2020. All rights reserved.