CudaOpticalFlowDualTvl1 Constructor |
http://www.emgu.com
Initializes a new instance of the CudaOpticalFlowDualTvl1 class.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic CudaOpticalFlowDualTvl1(
double tau = 0.25,
double lambda = 0.15,
double theta = 0.3,
int nscales = 5,
int warps = 5,
double epsilon = 0.01,
int iterations = 300,
double scaleStep = 0.8,
double gamma = 0,
bool useInitialFlow = false
)
Public Sub New (
Optional tau As Double = 0.25,
Optional lambda As Double = 0.15,
Optional theta As Double = 0.3,
Optional nscales As Integer = 5,
Optional warps As Integer = 5,
Optional epsilon As Double = 0.01,
Optional iterations As Integer = 300,
Optional scaleStep As Double = 0.8,
Optional gamma As Double = 0,
Optional useInitialFlow As Boolean = false
)
public:
CudaOpticalFlowDualTvl1(
double tau = 0.25,
double lambda = 0.15,
double theta = 0.3,
int nscales = 5,
int warps = 5,
double epsilon = 0.01,
int iterations = 300,
double scaleStep = 0.8,
double gamma = 0,
bool useInitialFlow = false
)
new :
?tau : float *
?lambda : float *
?theta : float *
?nscales : int *
?warps : int *
?epsilon : float *
?iterations : int *
?scaleStep : float *
?gamma : float *
?useInitialFlow : bool
(* Defaults:
let _tau = defaultArg tau 0.25
let _lambda = defaultArg lambda 0.15
let _theta = defaultArg theta 0.3
let _nscales = defaultArg nscales 5
let _warps = defaultArg warps 5
let _epsilon = defaultArg epsilon 0.01
let _iterations = defaultArg iterations 300
let _scaleStep = defaultArg scaleStep 0.8
let _gamma = defaultArg gamma 0
let _useInitialFlow = defaultArg useInitialFlow false
*)
-> CudaOpticalFlowDualTvl1
Parameters
- tau (Optional)
- Type: SystemDouble
Time step of the numerical scheme. - lambda (Optional)
- Type: SystemDouble
Weight parameter for the data term, attachment parameter. This is the most relevant parameter, which determines the smoothness of the output. The smaller this parameter is, the smoother the solutions we obtain. It depends on the range of motions of the images, so its value should be adapted to each image sequence. - theta (Optional)
- Type: SystemDouble
Parameter used for motion estimation. It adds a variable allowing for illumination variations Set this parameter to 1. if you have varying illumination. - nscales (Optional)
- Type: SystemInt32
Number of scales used to create the pyramid of images. - warps (Optional)
- Type: SystemInt32
Number of warpings per scale. Represents the number of times that I1(x+u0) and grad( I1(x+u0) ) are computed per scale. This is a parameter that assures the stability of the method. It also affects the running time, so it is a compromise between speed and accuracy. - epsilon (Optional)
- Type: SystemDouble
Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time. A small value will yield more accurate solutions at the expense of a slower convergence. - iterations (Optional)
- Type: SystemInt32
Stopping criterion iterations number used in the numerical scheme. - scaleStep (Optional)
- Type: SystemDouble
Scale step - gamma (Optional)
- Type: SystemDouble
Weight parameter for (u - v)^2, tightness parameter. It serves as a link between the attachment and the regularization terms. In theory, it should have a small value in order to maintain both parts in correspondence. The method is stable for a large range of values of this parameter. - useInitialFlow (Optional)
- Type: SystemBoolean
If true, use initial flow.
See Also