ComfyUI Node
cv2.ximgproc.getDisparityVis
Raw wrapper of cv2.ximgproc.getDisparityVis(src, scale?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ximgproc' module. See the OpenCV documentation for details.
cv2.ximgproc.getDisparityVis
- src
- nparray
◄scale1.0000►
Categoryimage/CV/low-level/ximgproc
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY,IMAGE,MASK | input disparity map (CV_16S depth) 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. | |
| scaleopt | FLOAT | 1.0000-1e+38–1e+38 | disparity map will be multiplied by this value for visualization Preset to the OpenCV default (1.0). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |