Skip to content

optflow_SupportRegionType

optflowclassOpenCV 5.0.0
import { optflow_SupportRegionType } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSoptflow_SupportRegionType
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 optflow support region type. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static SR_FIXED

Apply a constant support region

SR_FIXED: optflow_SupportRegionTypeValue<0>,

static SR_CROSS

Apply a adaptive support region obtained by cross-based segmentation

SR_CROSS: optflow_SupportRegionTypeValue<1>

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.