ComfyUI Node
cv2.convertMaps
Raw wrapper of cv2.convertMaps(map1, map2, dstmap1type, nninterpolation?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.convertMaps
- map1
- map2
- dstmap1
- dstmap2
◄dstmap1typeCV_16SC2 (fixed-point, faster remap)►
◄nninterpolationfalse►
Categoryimage/CV/low-level/cv2 C
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| map1 | NPARRAY | The first input map of type CV_16SC2, CV_32FC1, or CV_32FC2 . A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| map2 | NPARRAY | The second input map of type CV_16UC1, CV_32FC1, or none (empty matrix), respectively. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| dstmap1type | COMBO | CV_16SC2 (fixed-point, faster remap) | Type of the first output map that should be CV_16SC2, CV_32FC1, or CV_32FC2 . |
| nninterpolationopt | BOOLEAN | false | Flag indicating whether the fixed-point maps are used for the nearest-neighbor or for a more complex interpolation. Preset to the OpenCV default (False). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| dstmap1 | NPARRAY | — |
| dstmap2 | NPARRAY | — |