Nodes/comfyui_cv/cv2.Laplacian
ComfyUI Node

cv2.Laplacian

Raw wrapper of cv2.Laplacian(src, ddepth, ksize?, scale?, delta?, borderType?). 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.Laplacian
  • src
  • nparray
ddepthsame as input
ksize1
scale1.0000
delta0.0000
borderTypeBORDER_DEFAULT
Categoryimage/CV/low-level/cv2 L

Inputs (6)

NameTypeDefaultDescription
srcNPARRAY,IMAGE,MASKSource 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.
ddepthCOMBOsame as inputDesired depth of the destination image, see "combinations".
ksizeoptINT1-2147483648–2147483647Aperture size used to compute the second-derivative filters. See #getDerivKernels for details. The size must be positive and odd. Preset to the OpenCV default (1).
scaleoptFLOAT1.0000-1e+38–1e+38Optional scale factor for the computed Laplacian values. By default, no scaling is applied. See #getDerivKernels for details. Preset to the OpenCV default (1.0).
deltaoptFLOAT0.0000-1e+38–1e+38Optional delta value that is added to the results prior to storing them in dst . Preset to the OpenCV default (0.0).
borderTypeoptCOMBOBORDER_DEFAULTPixel extrapolation method, see #BorderTypes. #BORDER_WRAP is not supported.

Outputs (1)

NameTypeDescription
nparrayNPARRAY