xfeatures2d_PCTSignatures_SimilarityFunction
import { xfeatures2d_PCTSignatures_SimilarityFunction } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSxfeatures2d_PCTSignatures_SimilarityFunction
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Similarity function selector. See: 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]
Note: For selected distance function:
d(c_i, c_j)
and parameter:
\alpha
Constructors and members
static MINUS
-d(c_i, c_j)
MINUS: xfeatures2d_PCTSignatures_SimilarityFunctionValue<0>,static GAUSSIAN
e^{ -\alpha * d^2(c_i, c_j)}
GAUSSIAN: xfeatures2d_PCTSignatures_SimilarityFunctionValue<1>,static HEURISTIC
\frac{1}{\alpha + d(c_i, c_j)}
HEURISTIC: xfeatures2d_PCTSignatures_SimilarityFunctionValue<2>These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.