Skip to content

InterpolationMasks

Image processingclassOpenCV 5.0.0
import { InterpolationMasks } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSInterpolationMasks
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 interpolation masks. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static INTER_BITS

inter bits constant (5), defined by OpenCV for cv.

INTER_BITS: InterpolationMasksValue<5>,

static INTER_BITS2

inter bits2 constant (INTER_BITS * 2), defined by OpenCV for cv.

INTER_BITS2: InterpolationMasksValue<10>,

static INTER_TAB_SIZE

inter tab size constant (1 << INTER_BITS), defined by OpenCV for cv.

INTER_TAB_SIZE: InterpolationMasksValue<32>,

static INTER_TAB_SIZE2

inter tab size2 constant (INTER_TAB_SIZE * INTER_TAB_SIZE), defined by OpenCV for cv.

INTER_TAB_SIZE2: InterpolationMasksValue<1024>

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.