FlowFilterDelta

An intermediate pyramid-level filter for computing optical flow.

An intermediate pyramid-level filter for computing optical flow.

The in_gray input is the gray-scale image at this particular pyramid level. in_flow corresponds to the estimated flow from a higher pyramid level, and its resolution is half of that of in_gray.

The output out_flow is the estimated optical flow for this level. It refines the information in in_flow using higher resolution data from this level.

Parameters

gamma : float. Defaults to 0.01 The filter gains for the update step.

max_flow : float. Defaults to 1.0 The max magnitude allowed for the optical flow output.

smooth_iterations : int. Defaults to 1. The number of smooth iterations to apply to the estimated flow.

float_precision : int. Defaults to ll.FloatPrecision.FP32. Floating point precision used accross the algorithm. The outputs out_gray, out_flow and out_delfa_flow will be of this floating point precision.

Inputs

in_gray : ImageView r8ui image. The input gray-scale image.

in_flow : ImageView {rg16f, rg32f} image. The input optical flow.

Outputs

out_gray : ImageView r32f image. The gray-scale image after one iteration of the algorithm.

out_flow : ImageView rg32f image. The estimated optical flow.

out_delta_flow : ImageView rg32f image. The estimated optical flow.