Skip to content

morphologyDefaultBorderValue

Image processingfunctionOpenCV 5.0.0
import { morphologyDefaultBorderValue } from '@banou/opencv-wasm'

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

ARGUMENTSSee signature below
FUNCTIONmorphologyDefaultBorderValue
RETURN TYPEScalar
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all(-DBL_MAX) for dilation.

morphologyDefaultBorderValue(): Scalar;
Returns

The Scalar 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.