Method Create
- Namespace
- OpenCvSharp.OptFlow
- Assembly
- OpenCvSharp.dll
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
taudoubleTime step of the numerical scheme.
lambdadoubleWeight parameter for the data term, attachment parameter.
thetadoubleWeight parameter for (u - v)^2, tightness parameter.
nscalesintNumber of scales used to create the pyramid of images.
warpsintNumber of warpings per scale.
epsilondoubleStopping criterion threshold used in the numerical scheme.
innerIterationsintInner iterations (between outlier filtering) used in the numerical scheme.
outerIterationsintOuter iterations (number of inner loops) used in the numerical scheme.
scaleStepdoubleStep between scales (<1).
gammadoubleCoefficient for additional illumination variation term.
medianFilteringintMedian filter kernel size (1 = no filter) (3 or 5).
useInitialFlowboolUse initial flow.