Skip to content

AdaptiveThresholdTypes

Image processingclassOpenCV 5.0.0
import { AdaptiveThresholdTypes } from '@banou/opencv-wasm'

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

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

adaptive threshold algorithm See: adaptiveThreshold

Constructors and members

static ADAPTIVE_THRESH_MEAN_C

the threshold value T(x,y) is a mean of the \texttt{blockSize} \times \texttt{blockSize} neighborhood of (x, y) minus C

ADAPTIVE_THRESH_MEAN_C: AdaptiveThresholdTypesValue<0>,

static ADAPTIVE_THRESH_GAUSSIAN_C

the threshold value T(x, y) is a weighted sum (cross-correlation with a Gaussian window) of the \texttt{blockSize} \times \texttt{blockSize} neighborhood of (x, y) minus C . The default sigma (standard deviation) is used for the specified blockSize . See #getGaussianKernel

ADAPTIVE_THRESH_GAUSSIAN_C: AdaptiveThresholdTypesValue<1>

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.