ComfyUI Node
CV Warp Flags
Authors a flags value once and fans it out: wire the 'flags' STRING output into the flags input of any number of cv2_remap / cv2_warpAffine / cv2_warpPerspective / cv2_warpPolar nodes so they all share one configuration. Each toggle ORs one bit in. The base dropdown picks the interpolation; cv2 ignores bits the target function doesn't use - e.g. WARP_POLAR_LOG only matters for warpPolar. The 'value' INT output is the resolved integer for raw int flag params or MathExpression.
CV Warp Flags
- flags
- value
◄flagsINTER_LINEAR►
Categoryimage/CV/low-level
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| flags | STRING | INTER_LINEAR | Pipe-joined cv2 constant names, e.g. "INTER_LINEAR | WARP_RELATIVE_MAP". In the UI this renders as a base dropdown with one toggle per flag. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| flags | STRING | The pipe-joined flags string - wire it into the flags input of cv2_remap / cv2_warpAffine / cv2_warpPerspective / cv2_warpPolar nodes. |
| value | INT | The resolved integer (constants OR-ed together). |