FlowFilter
An optical flow filter with pyramidal implementation.
Parameters
max_flow : float. Defaults to 1.0 The max magnitude allowed for the optical flow output.
levels : int. Defaults to 1. The number of levels to create. If the value is 1, the in_gray input is bound as out_gray in the output, without any memory copy.
gamma : float. Defaults to 0.01 The filter gain for the update step at the top level of the pyramid
gamma_low : float. Defaults to 0.01 The filter gains for the update step at the intermediate pyramid levels.
smooth_iterations : int. Defaults to 1. The number of smooth iterations to apply to the estimated flow at each pyramid level.
float_precision : int. Defaults to ll.FloatPrecision.FP32. Floating point precision used accross the algorithm. The outputs out_gray and out_flow will be of this floating point precision.
Inputs
in_gray : ImageView r8ui image. The input gray-scale image.
Outputs
out_gray : ImageView {r16f, r32f} image. The gray-scale image after one iteration of the algorithm. The floating point precision of this output is affected by the float_precision parameter.
out_flow : ImageView {rg16f, rg32f} image. The estimated optical flow. The floating point precision of this output is affected by the float_precision parameter.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.