Nodes/comfyui_cv/cv2.norm (1/2)
ComfyUI Node

cv2.norm (1/2)

Raw wrapper of cv2.norm(src1, normType?, mask?). 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.norm (1/2)
  • src1
  • mask
  • float
normTypeNORM_L2
Categoryimage/CV/low-level/cv2 N

Inputs (3)

NameTypeDefaultDescription
src1NPARRAY,IMAGE,MASKfirst input array. 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.
normTypeoptCOMBONORM_L2type of the norm (see #NormTypes).
maskoptNPARRAY,IMAGE,MASKoptional operation mask; it must have the same size as src1 and type CV_8UC1, CV_8SC1 or CV_BoolC1. 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.

Outputs (1)

NameTypeDescription
floatFLOAT