Nodes/comfyui_cv/cv2.filter2Dp
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
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)

NameTypeDefaultDescription
srcNPARRAY,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.
kernelNPARRAY - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
anchorXoptINT-1-2147483648–2147483647 - - - Preset to the OpenCV default (-1).
anchorYoptINT-1-2147483648–2147483647 - - - Preset to the OpenCV default (-1).
borderTypeoptCOMBOBORDER_DEFAULT - - -
ddepthoptCOMBOsame as input - - -
scaleoptFLOAT1.0000-1e+38–1e+38 - - - Preset to the OpenCV default (1.0).
shiftoptFLOAT0.0000-1e+38–1e+38 - - - Preset to the OpenCV default (0.0).

Outputs (1)

NameTypeDescription
nparrayNPARRAY