xfeatures2d_PCTSignatures_generateInitPoints
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
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;initPointsOutput vector where the generated points will be saved.
countNumber of points to generate.
pointDistributionPoint 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.