ComfyUI Node
CV Relative Identity Map
Like 'CV Identity Map' but emits (0, 0) instead of (x, y) - the starting point for a map chain that will be sampled with WARP_RELATIVE_MAP (where cv2.remap interprets the maps as relative offsets dx, dy instead of absolute source coordinates). Feed it through the same distortion nodes (wave, displacement, flow...); each adds offsets. Finish with cv2_remap(flags=INTER_LINEAR | WARP_RELATIVE_MAP).
CV Relative Identity Map
- image
- map_x
- map_y
Categoryimage/CV/remap
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| image | NPARRAY,IMAGE,MASK | Only 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)
| Name | Type | Description |
|---|---|---|
| map_x | NPARRAY | HxW float32 zero-filled map (relative dx). |
| map_y | NPARRAY | HxW float32 zero-filled map (relative dy). |