CvCalcOpticalFlowHS Method OpenCvSharp Class Library
Computes flow for every pixel of the first input image using Horn & Schunck algorithm

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void CalcOpticalFlowHS(
	CvArr prev,
	CvArr curr,
	bool usePrevious,
	CvArr velx,
	CvArr vely,
	double lambda,
	CvTermCriteria criteria
)

Parameters

prev
Type: OpenCvSharpCvArr
First image, 8-bit, single-channel.
curr
Type: OpenCvSharpCvArr
Second image, 8-bit, single-channel.
usePrevious
Type: SystemBoolean
Uses previous (input) velocity field.
velx
Type: OpenCvSharpCvArr
Horizontal component of the optical flow of the same size as input images, 32-bit floating-point, single-channel.
vely
Type: OpenCvSharpCvArr
Vertical component of the optical flow of the same size as input images, 32-bit floating-point, single-channel.
lambda
Type: SystemDouble
Lagrangian multiplier.
criteria
Type: OpenCvSharpCvTermCriteria
Criteria of termination of velocity computing.
See Also

Reference