ComfyUI Node
cv2.ximgproc.jointBilateralFilter
Raw wrapper of cv2.ximgproc.jointBilateralFilter(joint, src, d, sigmaColor, sigmaSpace, borderType?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ximgproc' module. See the OpenCV documentation for details.
cv2.ximgproc.jointBilateralFilter
- joint
- src
- result
◄d0►
◄sigmaColor0.0000►
◄sigmaSpace0.0000►
◄borderTypeBORDER_DEFAULT►
Categoryimage/CV/low-level/ximgproc
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| joint | COMFY_MATCHTYPE_V3 | Joint 8-bit or floating-point, 1-channel or 3-channel image. The image output(s) echo this input's format. Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| src | NPARRAY,IMAGE,MASK | Source 8-bit or floating-point, 1-channel or 3-channel image with the same depth as joint image. Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| d | INT | 0-2147483648–2147483647 | Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace . |
| sigmaColor | FLOAT | 0.0000-1e+38–1e+38 | Filter 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. |
| sigmaSpace | FLOAT | 0.0000-1e+38–1e+38 | Filter 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 . |
| borderTypeopt | COMBO | BORDER_DEFAULT | - - - |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| result | COMFY_MATCHTYPE_V3 | Echoes the 'joint' input's format: an IMAGE link comes back as IMAGE, MASK as MASK, NPARRAY stays NPARRAY. |