ComfyUI Node
CV Draw Epipolar Lines
Debug helper: draws epipolar lines (ax + by + c = 0, from cv2.computeCorrespondEpilines) across the image, optionally marking this image's matched points in the same per-index color - use two of these nodes with the same inlier mask and a point in one view shares its color with its epipolar line in the other. Degenerate all-zero lines (e.g. from a not-found fundamental matrix) are skipped instead of erroring.
CV Draw Epipolar Lines
- source
- lines
- points
- inlier_mask
- image
◄max_draw40►
◄thickness1►
Categoryimage/CV/features
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| source | COMFY_MATCHTYPE_V3 | Image or mask to draw the epilines on (a copy is made). 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. | |
| lines | NPARRAY | Nx1x3 line coefficients from cv2.computeCorrespondEpilines. | |
| max_draw | INT | 400–10000 | Draw at most this many lines (after inlier filtering). 0 = all - usually too cluttered. |
| thickness | INT | 11–16 | Line width in pixels (point dots scale with it). |
| pointsopt | NPARRAY | This image's matched points (Nx1x2): each is marked with a dot in its line color. | |
| inlier_maskopt | NPARRAY | Nx1 uint8 mask from the fundamental-matrix node: only entries flagged 1 are drawn. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | COMFY_MATCHTYPE_V3 | Same format as the image input. |