ComfyUI Node
cv2.filter2Dp
Raw wrapper of cv2.filter2Dp(src, kernel, anchorX?, anchorY?, borderType?, ddepth?, scale?, shift?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.filter2Dp
- src
- kernel
- nparray
◄anchorX-1►
◄anchorY-1►
◄borderTypeBORDER_DEFAULT►
◄ddepthsame as input►
◄scale1.0000►
◄shift0.0000►
Categoryimage/CV/low-level/cv2 F
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY,IMAGE,MASK | - - - 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. | |
| kernel | NPARRAY | - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| anchorXopt | INT | -1-2147483648–2147483647 | - - - Preset to the OpenCV default (-1). |
| anchorYopt | INT | -1-2147483648–2147483647 | - - - Preset to the OpenCV default (-1). |
| borderTypeopt | COMBO | BORDER_DEFAULT | - - - |
| ddepthopt | COMBO | same as input | - - - |
| scaleopt | FLOAT | 1.0000-1e+38–1e+38 | - - - Preset to the OpenCV default (1.0). |
| shiftopt | FLOAT | 0.0000-1e+38–1e+38 | - - - Preset to the OpenCV default (0.0). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |