Nodes/comfyui_cv/cv2.convertMaps
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.convertMaps
  • map1
  • map2
  • dstmap1
  • dstmap2
dstmap1typeCV_16SC2 (fixed-point, faster remap)
nninterpolationfalse
Categoryimage/CV/low-level/cv2 C

Inputs (4)

NameTypeDefaultDescription
map1NPARRAYThe 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.
map2NPARRAYThe 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.
dstmap1typeCOMBOCV_16SC2 (fixed-point, faster remap)Type of the first output map that should be CV_16SC2, CV_32FC1, or CV_32FC2 .
nninterpolationoptBOOLEANfalseFlag 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)

NameTypeDescription
dstmap1NPARRAY
dstmap2NPARRAY