AdaptiveThresholdTypes
import { AdaptiveThresholdTypes } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
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.