Skip to content

createEMDL1HistogramCostExtractor

shapefunctionOpenCV 5.0.0
import { createEMDL1HistogramCostExtractor } from '@banou/opencv-wasm'

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

ARGUMENTSnDummies, defaultCost
FUNCTIONcreateEMDL1HistogramCostExtractor
RETURN TYPEHistogramCostExtractor | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create an owned HistogramCostExtractor instance with the supplied configuration.

Abstract base class for histogram cost algorithms.

createEMDL1HistogramCostExtractor(nDummies: number, defaultCost: number): HistogramCostExtractor | null;
3 available overloads
createEMDL1HistogramCostExtractor(): HistogramCostExtractor | null;
createEMDL1HistogramCostExtractor(nDummies: number): HistogramCostExtractor | null;
createEMDL1HistogramCostExtractor(nDummies: number, defaultCost: number): HistogramCostExtractor | null;
nDummies

n dummies argument (number).

defaultCost

default cost argument (number).

Returns

The HistogramCostExtractor | null result.

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.