ComfyUI Node
cv2.fisheye.undistortImage
Raw wrapper of cv2.fisheye.undistortImage(distorted, K, D, new_size?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'fisheye' module. See the OpenCV documentation for details.
cv2.fisheye.undistortImage
- distorted
- K
- D
- new_size
- nparray
Categoryimage/CV/low-level/fisheye
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| distorted | 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. | |
| K | 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. | |
| D | 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. | |
| new_sizeopt | CV_TUPLE | 0,0 | One value with 2 components (w, h) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |