Temporal Motion

Generating synthetic Motion Vectors via block-matching to track pixel movement between consecutive frames.

Since we lack engine-provided G-buffers, this flow field enables Temporal Accumulation (DLSS-style), allowing the CNN to reuse historical details correctly.

Optimization: Following the architecture, we restrict the search to the Foreground Mask $M_t$. If a pixel is marked as static background, the expensive search is bypassed.

Color Encoding:
Hue: Direction of motion.
Saturation: Velocity (magnitude).

// Initial state updateUI(0); }, 500); });