Skip to content

ximgproc_LocalBinarizationMethods

Extended image processingclassOpenCV 5.0.0
import { ximgproc_LocalBinarizationMethods } from '@banou/opencv-wasm'

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

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

Specifies the binarization method to use in cv::ximgproc::niBlackThreshold

Constructors and members

static BINARIZATION_NIBLACK

Classic Niblack binarization. See [Niblack1985] .

BINARIZATION_NIBLACK: ximgproc_LocalBinarizationMethodsValue<0>,

static BINARIZATION_SAUVOLA

Sauvola's technique. See [Sauvola1997] .

BINARIZATION_SAUVOLA: ximgproc_LocalBinarizationMethodsValue<1>,

static BINARIZATION_WOLF

Wolf's technique. See [Wolf2004] .

BINARIZATION_WOLF: ximgproc_LocalBinarizationMethodsValue<2>,

static BINARIZATION_NICK

NICK technique. See [Khurshid2009] .

BINARIZATION_NICK: ximgproc_LocalBinarizationMethodsValue<3>

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.