Skip to content

ximgproc_DTFilter

Extended image processingclassOpenCV 5.0.0
import { ximgproc_DTFilter } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSximgproc_DTFilter
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

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;
Returns

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;
src

filtering image with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels.

dst

Output destination, filled by the native operation. destination image.

dDepth

optional 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.