Skip to content

flann_DistanceType

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

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

ARGUMENTSConstructor or factory
CLASSflann_DistanceType
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.

flann distance type value in the OpenCV API.

Constructors and members

static L2

l2 value for flann_DistanceType.

L2: flann_DistanceTypeValue<1>,

static L1

l1 value for flann_DistanceType.

L1: flann_DistanceTypeValue<2>,

static MINKOWSKI

minkowski value for flann_DistanceType.

MINKOWSKI: flann_DistanceTypeValue<3>,

static MAX

max value for flann_DistanceType.

MAX: flann_DistanceTypeValue<4>,

static HIST_INTERSECT

hist intersect value for flann_DistanceType.

HIST_INTERSECT: flann_DistanceTypeValue<5>,

static HELLINGER

hellinger value for flann_DistanceType.

HELLINGER: flann_DistanceTypeValue<6>,

static CHI_SQUARE

chi square value for flann_DistanceType.

CHI_SQUARE: flann_DistanceTypeValue<7>,

static KULLBACK_LEIBLER

kullback leibler value for flann_DistanceType.

KULLBACK_LEIBLER: flann_DistanceTypeValue<8>,

static DNAMMING

dnamming value for flann_DistanceType.

DNAMMING: flann_DistanceTypeValue<10>,

static HAMMING

hamming value for flann_DistanceType.

HAMMING: flann_DistanceTypeValue<9>

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.