ComfyUI Node
cv2.ximgproc.amFilter
Raw wrapper of cv2.ximgproc.amFilter(joint, src, sigma_s, sigma_r, adjust_outliers?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ximgproc' module. See the OpenCV documentation for details.
cv2.ximgproc.amFilter
- joint
- src
- result
◄sigma_s0.0000►
◄sigma_r0.0000►
◄adjust_outliersfalse►
Categoryimage/CV/low-level/ximgproc
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| joint | COMFY_MATCHTYPE_V3 | joint (also called as guided) image or array of images with any numbers of channels. 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 | filtering image with any numbers of channels. 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. | |
| sigma_s | FLOAT | 0.0000-1e+38–1e+38 | spatial standard deviation. |
| sigma_r | FLOAT | 0.0000-1e+38–1e+38 | color space standard deviation, it is similar to the sigma in the color space into bilateralFilter. |
| adjust_outliersopt | BOOLEAN | false | optional, specify perform outliers adjust operation or not, (Eq. 9) in the original paper. Preset to the OpenCV default (False). |
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. |