Table of Contents

Class VariationalRefinement

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Variational optical flow refinement. This class implements variational refinement of the input flow field, i.e. it uses input flow to initialize the minimization of the sum of color constancy, gradient constancy and smoothness terms.

public class VariationalRefinement : DenseOpticalFlow, IDisposable
Inheritance
VariationalRefinement
Implements
Inherited Members

Properties

Alpha

Weight of the smoothness term

Delta

Weight of the color constancy term

Epsilon

Norm value shift for robust penalizer

FixedPointIterations

Number of outer (fixed-point) iterations in the minimization procedure.

Gamma

Weight of the gradient constancy term

Omega

Relaxation factor in SOR

SorIterations

Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.

Methods

CalcUV(InputArray, InputArray, InputOutputArray, InputOutputArray)

calc() function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)

Create()

Creates an instance of VariationalRefinement