ComfyUI Node
cv2.integral
Raw wrapper of cv2.integral(src, sdepth?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.integral
- src
- nparray
◄sdepthsame as input►
Categoryimage/CV/low-level/cv2 I
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY,IMAGE,MASK | input image as $W \times H$, 8-bit or floating-point (32f or 64f). 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. | |
| sdepthopt | COMBO | same as input | desired depth of the integral and the tilted integral images, CV_32S, CV_32F, or CV_64F. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |