Skip to content

SamplingMethod

geometryclassOpenCV 5.0.0
import { SamplingMethod } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSSamplingMethod
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Native enum entries for sampling method. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static SAMPLING_UNIFORM

sampling uniform constant (0), defined by OpenCV for cv.

SAMPLING_UNIFORM: SamplingMethodValue<0>,

static SAMPLING_PROGRESSIVE_NAPSAC

sampling progressive napsac constant (1), defined by OpenCV for cv.

SAMPLING_PROGRESSIVE_NAPSAC: SamplingMethodValue<1>,

static SAMPLING_NAPSAC

sampling napsac constant (2), defined by OpenCV for cv.

SAMPLING_NAPSAC: SamplingMethodValue<2>,

static SAMPLING_PROSAC

sampling prosac constant (3), defined by OpenCV for cv.

SAMPLING_PROSAC: SamplingMethodValue<3>

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.