Table of Contents

Class DualTVL1OpticalFlow

Namespace
OpenCvSharp.OptFlow
Assembly
OpenCvSharp.dll

"Dual TV L1" Optical Flow Algorithm.

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

Properties

Epsilon

Stopping criterion threshold used in the numerical scheme, a trade-off between precision and running time.

public double Epsilon { get; set; }

Property Value

double

Gamma

Coefficient for additional illumination variation term.

public double Gamma { get; set; }

Property Value

double

InnerIterations

Inner iterations (between outlier filtering) used in the numerical scheme.

public int InnerIterations { get; set; }

Property Value

int

Lambda

Weight parameter for the data term, attachment parameter.

public double Lambda { get; set; }

Property Value

double

MedianFiltering

Median filter kernel size (1 = no filter) (3 or 5).

public int MedianFiltering { get; set; }

Property Value

int

OuterIterations

Outer iterations (number of inner loops) used in the numerical scheme.

public int OuterIterations { get; set; }

Property Value

int

ScaleStep

Step between scales (<1).

public double ScaleStep { get; set; }

Property Value

double

ScalesNumber

Number of scales used to create the pyramid of images.

public int ScalesNumber { get; set; }

Property Value

int

Tau

Time step of the numerical scheme.

public double Tau { get; set; }

Property Value

double

Theta

Weight parameter for (u - v)^2, tightness parameter.

public double Theta { get; set; }

Property Value

double

UseInitialFlow

Use initial flow.

public bool UseInitialFlow { get; set; }

Property Value

bool

WarpingsNumber

Number of warpings per scale.

public int WarpingsNumber { get; set; }

Property Value

int

Methods

Create(double, double, double, int, int, double, int, int, double, double, int, bool)

Creates instance of cv::optflow::DualTVL1OpticalFlow.

public static DualTVL1OpticalFlow Create(double tau = 0.25, double lambda = 0.15, double theta = 0.3, int nscales = 5, int warps = 5, double epsilon = 0.01, int innerIterations = 30, int outerIterations = 10, double scaleStep = 0.8, double gamma = 0, int medianFiltering = 5, bool useInitialFlow = false)

Parameters

tau double

Time step of the numerical scheme.

lambda double

Weight parameter for the data term, attachment parameter.

theta double

Weight parameter for (u - v)^2, tightness parameter.

nscales int

Number of scales used to create the pyramid of images.

warps int

Number of warpings per scale.

epsilon double

Stopping criterion threshold used in the numerical scheme.

innerIterations int

Inner iterations (between outlier filtering) used in the numerical scheme.

outerIterations int

Outer iterations (number of inner loops) used in the numerical scheme.

scaleStep double

Step between scales (<1).

gamma double

Coefficient for additional illumination variation term.

medianFiltering int

Median filter kernel size (1 = no filter) (3 or 5).

useInitialFlow bool

Use initial flow.

Returns

DualTVL1OpticalFlow