Nodes/comfyui_cv/cv2.ximgproc.anisotropicDiffusion
ComfyUI Node

cv2.ximgproc.anisotropicDiffusion

Raw wrapper of cv2.ximgproc.anisotropicDiffusion(src, alpha, K, niters). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ximgproc' module. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.ximgproc.anisotropicDiffusion
  • src
  • result
alpha0.0000
K0.0000
niters0
Categoryimage/CV/low-level/ximgproc

Inputs (4)

NameTypeDefaultDescription
srcCOMFY_MATCHTYPE_V3Source image with 3 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.
alphaFLOAT0.0000-1e+38–1e+38The amount of time to step forward by on each iteration (normally, it's between 0 and 1).
KFLOAT0.0000-1e+38–1e+38sensitivity to the edges
nitersINT0-2147483648–2147483647The number of iterations

Outputs (1)

NameTypeDescription
resultCOMFY_MATCHTYPE_V3Echoes the 'src' input's format: an IMAGE link comes back as IMAGE, MASK as MASK, NPARRAY stays NPARRAY.