ConnectedComponentsAlgorithmsTypes
import { ConnectedComponentsAlgorithmsTypes } 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.
connected components algorithm
Constructors and members
static CCL_DEFAULT
Spaghetti [Bolelli2019] algorithm for 8-way connectivity, Spaghetti4C [Bolelli2021] algorithm for 4-way connectivity.
CCL_DEFAULT: ConnectedComponentsAlgorithmsTypesValue<-1>,static CCL_WU
Same as CCL_WU. It is preferable to use the flag with the name of the algorithm (CCL_SAUF) rather than the one with the name of the first author (CCL_WU).
CCL_WU: ConnectedComponentsAlgorithmsTypesValue<0>,static CCL_GRANA
Same as CCL_GRANA. It is preferable to use the flag with the name of the algorithm (CCL_BBDT) rather than the one with the name of the first author (CCL_GRANA).
CCL_GRANA: ConnectedComponentsAlgorithmsTypesValue<1>,static CCL_BOLELLI
Same as CCL_BOLELLI. It is preferable to use the flag with the name of the algorithm (CCL_SPAGHETTI) rather than the one with the name of the first author (CCL_BOLELLI).
CCL_BOLELLI: ConnectedComponentsAlgorithmsTypesValue<2>,static CCL_SAUF
Same as CCL_WU. It is preferable to use the flag with the name of the algorithm (CCL_SAUF) rather than the one with the name of the first author (CCL_WU).
CCL_SAUF: ConnectedComponentsAlgorithmsTypesValue<3>,static CCL_BBDT
Same as CCL_GRANA. It is preferable to use the flag with the name of the algorithm (CCL_BBDT) rather than the one with the name of the first author (CCL_GRANA).
CCL_BBDT: ConnectedComponentsAlgorithmsTypesValue<4>,static CCL_SPAGHETTI
Same as CCL_BOLELLI. It is preferable to use the flag with the name of the algorithm (CCL_SPAGHETTI) rather than the one with the name of the first author (CCL_BOLELLI).
CCL_SPAGHETTI: ConnectedComponentsAlgorithmsTypesValue<5>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.