xfeatures2d_PCTSignatures_create1
import { xfeatures2d_PCTSignatures_create1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSinitSamplingPoints, initSeedCount
FUNCTIONxfeatures2d_PCTSignatures_create1
RETURN TYPExfeatures2d_PCTSignatures | null
Creates PCTSignatures algorithm using pre-generated sampling points and number of clusterization seeds. It uses the provided sampling points and generates its own clusterization seed indexes.
xfeatures2d_PCTSignatures_create1(initSamplingPoints: Point2fVector, initSeedCount: number): xfeatures2d_PCTSignatures | null;initSamplingPointsSampling points used in image sampling.
initSeedCountNumber of initial clusterization seeds. Must be lower or equal to initSamplingPoints.size().
Returns
Created algorithm.
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.