MorphTypes
import { MorphTypes } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSMorphTypes
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
type of morphological operation
Constructors and members
static MORPH_ERODE
MorphTypes.MORPH_ERODE: see #erode
MORPH_ERODE: MorphTypesValue<0>,static MORPH_DILATE
MorphTypes.MORPH_DILATE: see #dilate
MORPH_DILATE: MorphTypesValue<1>,static MORPH_OPEN
an opening operation
MORPH_OPEN: MorphTypesValue<2>,static MORPH_CLOSE
a closing operation
MORPH_CLOSE: MorphTypesValue<3>,static MORPH_GRADIENT
a morphological gradient
MORPH_GRADIENT: MorphTypesValue<4>,static MORPH_TOPHAT
MorphTypes.MORPH_TOPHAT: "top hat"
MORPH_TOPHAT: MorphTypesValue<5>,static MORPH_BLACKHAT
MorphTypes.MORPH_BLACKHAT: "black hat"
MORPH_BLACKHAT: MorphTypesValue<6>,static MORPH_HITMISS
MorphTypes.MORPH_HITMISS: "hit or miss"
MORPH_HITMISS: MorphTypesValue<7>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.