ximgproc_DTFilter
import { ximgproc_DTFilter } 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. Inherits Algorithm.
Interface for realizations of Domain Transform filter.
For more details about this filter see [Gastal11] .
Constructors and members
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
filter
Produce domain transform filtering operation on source image.
filter(src: Mat, dst: Mat, dDepth: number): void;2 available overloads
filter(src: Mat, dst: Mat): void;filter(src: Mat, dst: Mat, dDepth: number): void;srcfiltering image with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels.
dstOutput destination, filled by the native operation. destination image.
dDepthoptional depth of the output image. dDepth can be set to -1, which will be equivalent to src.depth().
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.