| left | NPARRAY,IMAGE | | Rectified LEFT frame - the guide whose edges and superpixels the interpolation follows. 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. |
| right | NPARRAY,IMAGE | | Rectified RIGHT frame. Same size as 'left'; the interpolators take both views of the match set. 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. |
| disparity | NPARRAY | | HxW float disparity in PIXELS with holes (negative / zero where the matcher failed), e.g. 'CV Stereo Disparity (SGBM)' or the 'disparity_raw' output of the WLS node. |
| method | COMBO | RIC (superpixel plane fit) | RIC fits a plane per SLIC superpixel and keeps silhouettes best (~0.2 s at 640x480); EPIC (EpicFlow) is ~2x faster and slightly smoother on flat ground but blurrier at depth edges. RIC randomizes its model fitting, so its output varies slightly run to run; EPIC is deterministic. |
| min_disparity | FLOAT | 0.05-256–256 | Disparity above which an input pixel counts as a seed. The SGBM nodes mark invalid pixels below min_disparity, so the default keeps everything positive. |
| confidenceopt | NPARRAY | | Optional HxW confidence map (0-255), e.g. the 'confidence' output of 'CV Stereo Disparity (WLS filtered)'. Seeds below the threshold are dropped, which is how occlusions and failed left-right checks stay out of the fit. |
| confidence_thresholdopt | FLOAT | 1280–255 | Minimum confidence for a seed (ignored when no confidence map is connected). |
| kopt | INT | 324–256 | Neighbouring seeds used to fit each local model. Larger = smoother and slower. |
| superpixel_sizeopt | INT | 154–64 | RIC only: average SLIC superpixel side in pixels. Smaller follows finer structure at more cost. |
| post_smoothingopt | COMBO | global smoother (recommended) | Run the edge-aware global smoother over the interpolated result. 'none' leaves the raw per-superpixel planes visible as blocky steps (measured: edge alignment 89% -> 53%). |
| max_seedsopt | INT | 3000064–32000 | Seeds are subsampled to at most this many. cv2 ASSERTS on 32767 or more (match_num < SHRT_MAX), and a full 640x480 map has ~180k valid pixels, so this cap is not optional. |