Nodes/comfyui_cv/CV Identity Map
ComfyUI Node

CV Identity Map

The starting point of every remap chain: the do-nothing coordinate grid sized like the given image (map_x[y][x] = x, map_y[y][x] = y). Feed it through distortion-map nodes (radial lens, cylinder, pinch, wave, displacement, homography) - each rewrites the coordinates, so chaining composes distortions - and apply the final pair with the low-level cv2_remap.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Identity Map
  • image
  • map_x
  • map_y
Categoryimage/CV/remap

Inputs (1)

NameTypeDefaultDescription
imageNPARRAY,IMAGE,MASKOnly its width/height are used. 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.

Outputs (2)

NameTypeDescription
map_xNPARRAYHxW float32 source-x coordinate per pixel.
map_yNPARRAYHxW float32 source-y coordinate per pixel.