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
public float Alpha { get; set; }
Property Value
Delta
Weight of the color constancy term
public float Delta { get; set; }
Property Value
Epsilon
Norm value shift for robust penalizer
public float Epsilon { get; set; }
Property Value
FixedPointIterations
Number of outer (fixed-point) iterations in the minimization procedure.
public int FixedPointIterations { get; set; }
Property Value
Gamma
Weight of the gradient constancy term
public float Gamma { get; set; }
Property Value
Omega
Relaxation factor in SOR
public float Omega { get; set; }
Property Value
SorIterations
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.
public int SorIterations { get; set; }
Property Value
Methods
CalcUV(InputArray, InputArray, InputOutputArray, InputOutputArray)
calc() function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)
public virtual void CalcUV(InputArray i0, InputArray i1, InputOutputArray flowU, InputOutputArray flowV)
Parameters
i0InputArrayi1InputArrayflowUInputOutputArrayflowVInputOutputArray
Create()
Creates an instance of VariationalRefinement
public static VariationalRefinement Create()