ximgproc_jointBilateralFilter
import { ximgproc_jointBilateralFilter } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Applies the joint bilateral filter to an image.
See: bilateralFilter, amFilter
ximgproc_jointBilateralFilter(joint: Mat, src: Mat, dst: Mat, d: number, sigmaColor: number, sigmaSpace: number, borderType: number): void;2 available overloads
ximgproc_jointBilateralFilter(joint: Mat, src: Mat, dst: Mat, d: number, sigmaColor: number, sigmaSpace: number): void;ximgproc_jointBilateralFilter(joint: Mat, src: Mat, dst: Mat, d: number, sigmaColor: number, sigmaSpace: number, borderType: number): void;jointJoint 8-bit or floating-point, 1-channel or 3-channel image.
srcSource 8-bit or floating-point, 1-channel or 3-channel image with the same depth as joint image.
dstOutput destination, filled by the native operation. Destination image of the same size and type as src .
dDiameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace .
sigmaColorFilter sigma in the color space. A larger value of the parameter means that farther colors within the pixel neighborhood (see sigmaSpace ) will be mixed together, resulting in larger areas of semi-equal color.
sigmaSpaceFilter sigma in the coordinate space. A larger value of the parameter means that farther pixels will influence each other as long as their colors are close enough (see sigmaColor ). When d>0 , it specifies the neighborhood size regardless of sigmaSpace . Otherwise, d is proportional to sigmaSpace .
borderTypeNote: bilateralFilter and jointBilateralFilter use L1 norm to compute difference between colors.
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.