ComfyUI Node
cv2.undistortImagePoints
Raw wrapper of cv2.undistortImagePoints(src, cameraMatrix, distCoeffs, arg1?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.undistortImagePoints
- src
- cameraMatrix
- distCoeffs
- nparray
◄arg1_typemax count or epsilon (whichever first)►
◄arg1_max_count30►
◄arg1_epsilon0.00►
Categoryimage/CV/low-level/cv2 U
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY,IMAGE,MASK | - - - 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. | |
| cameraMatrix | NPARRAY | - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| distCoeffs | NPARRAY | - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| arg1_typeopt | COMBO | max count or epsilon (whichever first) | When to stop iterating: after max_count iterations, when the change drops below epsilon, or whichever comes first. |
| arg1_max_countopt | INT | 301–2147483647 | Maximum iterations (ignored when 'epsilon only'). |
| arg1_epsilonopt | FLOAT | 0.000–1e+38 | Target accuracy / smallest change worth continuing for (ignored when 'max count only'). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |