Skip to content

xfeatures2d_PCTSignatures_generateInitPoints

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

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

ARGUMENTSinitPoints, count, pointDistribution
FUNCTIONxfeatures2d_PCTSignatures_generateInitPoints
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Generates initial sampling points according to selected point distribution.

Note: Generated coordinates are in range [0..1)

xfeatures2d_PCTSignatures_generateInitPoints(initPoints: Point2fVector, count: number, pointDistribution: number): void;
initPoints

Output vector where the generated points will be saved.

count

Number of points to generate.

pointDistribution

Point distribution selector. Available: UNIFORM, REGULAR, NORMAL.

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.