Skip to content

AccessFlag

Core and matricesclassOpenCV 5.0.0
import { AccessFlag } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSAccessFlag
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 access flag. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static ACCESS_READ

access read constant (1<<24), defined by OpenCV for cv.

ACCESS_READ: AccessFlagValue<16777216>,

static ACCESS_WRITE

access write constant (1<<25), defined by OpenCV for cv.

ACCESS_WRITE: AccessFlagValue<33554432>,

static ACCESS_RW

access rw constant (3<<24), defined by OpenCV for cv.

ACCESS_RW: AccessFlagValue<50331648>,

static ACCESS_MASK

access mask constant (ACCESS_RW), defined by OpenCV for cv.

ACCESS_MASK: AccessFlagValue<50331648>,

static ACCESS_FAST

access fast constant (1<<26), defined by OpenCV for cv.

ACCESS_FAST: AccessFlagValue<67108864>

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.