ComfyUI Node
CV Cylinder Map
Cylindrical projection: 'wrap' renders the image as if glued onto a cylinder seen from its axis - the classic panorama pre-warp that compresses the side edges so rotated shots line up for stitching; 'unwrap' is its inverse (stretches the sides, flattens an already-cylindrical image). field_of_view sets the focal length: f = (extent / 2) / tan(fov / 2).
CV Cylinder Map
- map_x
- map_y
- map_x
- map_y
◄field_of_view90►
◄directionwrap around the cylinder (pano pre-warp)►
◄axisvertical axis (curves the left/right edges)►
Categoryimage/CV/remap
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| map_x | NPARRAY | Incoming source-x coordinate map to distort. Start the chain with 'CV Identity Map'; further remap nodes compose onto it. | |
| map_y | NPARRAY | Incoming source-y coordinate map (must share map_x's shape - both come from the same chain). | |
| field_of_view | FLOAT | 9010–160 | Horizontal (or vertical, see axis) field of view in degrees; wider = stronger curvature. |
| direction | COMBO | wrap around the cylinder (pano pre-warp) | wrap curves a flat image onto a cylinder (panorama pre-warp); unwrap is the inverse (flattens it back). |
| axisopt | COMBO | vertical axis (curves the left/right edges) | Cylinder orientation: vertical curves the left/right edges, horizontal curves the top/bottom edges. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| map_x | NPARRAY | — |
| map_y | NPARRAY | — |