ximgproc_l0Smooth
import { ximgproc_l0Smooth } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, dst, lambda, kappa
FUNCTIONximgproc_l0Smooth
RETURN TYPEvoid
Global image smoothing via L0 gradient minimization.
ximgproc_l0Smooth(src: Mat, dst: Mat, lambda: number, kappa: number): void;3 available overloads
ximgproc_l0Smooth(src: Mat, dst: Mat): void;ximgproc_l0Smooth(src: Mat, dst: Mat, lambda: number): void;ximgproc_l0Smooth(src: Mat, dst: Mat, lambda: number, kappa: number): void;srcsource image for filtering with unsigned 8-bit or signed 16-bit or floating-point depth.
dstOutput destination, filled by the native operation. destination image.
lambdaparameter defining the smooth term weight.
kappaparameter defining the increasing factor of the weight of the gradient data term.
For more details about L0 Smoother, see the original paper [xu2011image].
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.