Skip to content

optflow_InterpolationType

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

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

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

Constructors and members

static INTERP_GEO

Fast geodesic interpolation, see [Geistert2016]

INTERP_GEO: optflow_InterpolationTypeValue<0>,

static INTERP_EPIC

Edge-preserving interpolation using ximgproc::EdgeAwareInterpolator, see [Revaud2015],Geistert2016.

INTERP_EPIC: optflow_InterpolationTypeValue<1>,

static INTERP_RIC

SLIC based robust interpolation using ximgproc::RICInterpolator, see [Hu2017].

INTERP_RIC: optflow_InterpolationTypeValue<2>

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.