Skip to content

xfeatures2d_PCTSignatures_create

xfeatures2dfunctionOpenCV 5.0.0
import { xfeatures2d_PCTSignatures_create } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSinitSamplingPoints, initSeedCount, initSampleCount, pointDistribution
FUNCTIONxfeatures2d_PCTSignatures_create
RETURN TYPExfeatures2d_PCTSignatures | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

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_create(initSampleCount: number, initSeedCount: number, pointDistribution: number): xfeatures2d_PCTSignatures | null;
4 available overloads
xfeatures2d_PCTSignatures_create(): xfeatures2d_PCTSignatures | null;
xfeatures2d_PCTSignatures_create(initSamplingPoints: number): xfeatures2d_PCTSignatures | null;
xfeatures2d_PCTSignatures_create(initSamplingPoints: number, initSeedCount: number): xfeatures2d_PCTSignatures | null;
xfeatures2d_PCTSignatures_create(initSampleCount: number, initSeedCount: number, pointDistribution: number): xfeatures2d_PCTSignatures | null;
initSamplingPoints

Sampling points used in image sampling.

initSeedCount

Number of initial clusterization seeds. Must be lower or equal to initSamplingPoints.size().

initSampleCount

Number of points used for image sampling.

pointDistribution

Distribution of generated points. Default: UNIFORM. Available: UNIFORM, REGULAR, NORMAL.

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.