ComfyUI Node
cv2.omnidir.initUndistortRectifyMap
Raw wrapper of cv2.omnidir.initUndistortRectifyMap(K, D, xi, R, P, size, m1type, flags). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'omnidir' module. See the OpenCV documentation for details.
cv2.omnidir.initUndistortRectifyMap
- K
- D
- xi
- R
- P
- size
- nparray_0
- nparray_1
◄m1type0►
◄flags0►
Categoryimage/CV/low-level/omnidir
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| 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. | |
| xi | 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. | |
| R | 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. | |
| P | 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. | |
| size | 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. |
| m1type | INT | 0-2147483648–2147483647 | - - - |
| flags | INT | 0-2147483648–2147483647 | - - - |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| nparray_0 | NPARRAY | — |
| nparray_1 | NPARRAY | — |