DistanceTransformLabelTypes
import { DistanceTransformLabelTypes } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSDistanceTransformLabelTypes
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
distanceTransform algorithm flags
Constructors and members
static DIST_LABEL_CCOMP
each connected component of zeros in src (as well as all the non-zero pixels closest to the connected component) will be assigned the same label
DIST_LABEL_CCOMP: DistanceTransformLabelTypesValue<0>,static DIST_LABEL_PIXEL
each zero pixel (and all the non-zero pixels closest to it) gets its own label.
DIST_LABEL_PIXEL: DistanceTransformLabelTypesValue<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.