ximgproc_FastBilateralSolverFilter
import { ximgproc_FastBilateralSolverFilter } 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 implementations of Fast Bilateral Solver.
For more details about this solver see [BarronPoole2016] .
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
Apply smoothing operation to the source image.
Note: Confidence images with CV_8U depth are expected to in [0, 255] and CV_32F in [0, 1] range.
filter(src: Mat, confidence: Mat, dst: Mat): void;srcsource image for filtering with unsigned 8-bit or signed 16-bit or floating-point 32-bit depth and up to 3 channels.
confidenceconfidence image with unsigned 8-bit or floating-point 32-bit confidence and 1 channel.
dstOutput destination, filled by the native operation. destination image.
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.