Skip to content

NeighborSearchMethod

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

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

ARGUMENTSConstructor or factory
CLASSNeighborSearchMethod
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 neighbor search method. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static NEIGH_FLANN_KNN

neigh flann knn constant (0), defined by OpenCV for cv.

NEIGH_FLANN_KNN: NeighborSearchMethodValue<0>,

static NEIGH_GRID

neigh grid constant (1), defined by OpenCV for cv.

NEIGH_GRID: NeighborSearchMethodValue<1>,

static NEIGH_FLANN_RADIUS

neigh flann radius constant (2), defined by OpenCV for cv.

NEIGH_FLANN_RADIUS: NeighborSearchMethodValue<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.