SeamlessCloneFlags
import { SeamlessCloneFlags } 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.
photo_decolor
Flags for the seamlessClone algorithm
Constructors and members
static NORMAL_CLONE
Mixed seamless cloning.
NORMAL_CLONE: SeamlessCloneFlagsValue<1>,static MIXED_CLONE
Monochrome transfer cloning.
MIXED_CLONE: SeamlessCloneFlagsValue<2>,static MONOCHROME_TRANSFER
Enhanced normal seamless cloning.
MONOCHROME_TRANSFER: SeamlessCloneFlagsValue<3>,static NORMAL_CLONE_WIDE
Enhanced normal seamless cloning.
Similar to NORMAL_CLONE, but with an advanced approach to ROI (Region of Interest) calculation.
This mode processes a larger source region by considering the entire mask area instead of only
the bounding rectangle of non-zero pixels.
NORMAL_CLONE_WIDE: SeamlessCloneFlagsValue<9>,static MIXED_CLONE_WIDE
Enhanced mixed seamless cloning.
Similar to MIXED_CLONE, but with an advanced approach to ROI (Region of Interest) calculation.
This mode processes a larger source region by considering the entire mask area instead of only
the bounding rectangle of non-zero pixels.
MIXED_CLONE_WIDE: SeamlessCloneFlagsValue<10>,static MONOCHROME_TRANSFER_WIDE
Enhanced monochrome transfer cloning.
Similar to MONOCHROME_TRANSFER, but with an advanced approach to ROI (Region of Interest) calculation.
This mode processes a larger source region by considering the entire mask area instead of only
the bounding rectangle of non-zero pixels.
MONOCHROME_TRANSFER_WIDE: SeamlessCloneFlagsValue<11>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.