ComfyUI Node
cv2.meanStdDev
Raw wrapper of cv2.meanStdDev(src, mask?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.meanStdDev
- src
- mask
- mean
- stddev
Categoryimage/CV/low-level/cv2 M
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY,IMAGE,MASK | input array that should have from 1 to 4 channels so that the results can be stored in Scalar_ 's. 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. | |
| maskopt | NPARRAY,IMAGE,MASK | optional operation mask of type CV_8U, CV_8S or CV_Bool. 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 (2)
| Name | Type | Description |
|---|---|---|
| mean | NPARRAY | — |
| stddev | NPARRAY | — |