ComfyUI Node
ꘇ top.opticalflow
Small-motion dense 5×5 Lucas–Kanade flow, at bounded analysis resolution. R/G encode dx/dy in analysis pixels: (channel−0.5)×2×max_motion; B is confidence, alpha=1. Live defaults to previous source frame; optional previous IMAGE overrides history. Queue needs previous or returns neutral flow. No pyramid: large motion/occlusion is unreliable.
ꘇ top.opticalflow
- image
- previous
- image
◄analysis_width256►
◄max_motion8.00►
◄regularization0.00►
CategoryGenereti / TOP
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| analysis_width | INT | 25616–512 | — |
| max_motion | FLOAT | 8.000.1–64 | — |
| regularization | FLOAT | 0.000.00001–0.1 | — |
| previousopt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |