ComfyUI Node
cv2.ximgproc.computeMSE
Raw wrapper of cv2.ximgproc.computeMSE(GT, src, ROI). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ximgproc' module. See the OpenCV documentation for details.
cv2.ximgproc.computeMSE
- GT
- src
- float
◄ROI_x0►
◄ROI_y0►
◄ROI_w0►
◄ROI_h0►
Categoryimage/CV/low-level/ximgproc
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| GT | NPARRAY,IMAGE,MASK | ground truth disparity map 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. | |
| src | NPARRAY,IMAGE,MASK | disparity map to evaluate 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. | |
| ROI_x | INT | 0-2147483648–2147483647 | Rectangle top-left corner X in pixels. |
| ROI_y | INT | 0-2147483648–2147483647 | Rectangle top-left corner Y in pixels. |
| ROI_w | INT | 00–2147483647 | Rectangle width in pixels (>= 0). |
| ROI_h | INT | 00–2147483647 | Rectangle height in pixels (>= 0). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |