FlowUpdate

Computes one step update of the optical flow based on image data and previous estimate.

Computes one step update of the optical flow based on image data and previous estimate.

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.

Inputs

in_gray : ImageView {r16f, r32f} image. The input gray-scale image at current time step.

in_gradient : ImageView {rg16f, rg32f} image. The input gray-scale image gradient at current time step.

in_flow : Imageview {rg16f, rg32f} image. The current estimation of the optical flow.

Outputs

out_gray : ImageView {r16f, r32f} image. The image estimate for the next time step. It is a memory copy of in_gray.

out_flow : ImageView {rg16f, rg32f} image. The updated optical flow. This image is allocated externally in FlowFilterSimple and bound to this node. This way, the loop between FlowPredict and FlowUpdate can be broken.