Nodes/comfyui_cv/cv2.Scharr
ComfyUI Node

cv2.Scharr

Raw wrapper of cv2.Scharr(src, ddepth, dx, dy, 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.Scharr
  • src
  • nparray
ddepthsame as input
dx0
dy0
scale1.0000
delta0.0000
borderTypeBORDER_DEFAULT
Categoryimage/CV/low-level/cv2 S

Inputs (7)

NameTypeDefaultDescription
srcNPARRAY,IMAGE,MASKinput 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 inputoutput image depth, see "combinations"
dxINT0-2147483648–2147483647order of the derivative x.
dyINT0-2147483648–2147483647order of the derivative y.
scaleoptFLOAT1.0000-1e+38–1e+38optional scale factor for the computed derivative 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