Emgu CV Library Documentation
cvCalcOpticalFlowHS Method (prev, curr, usePrevious, velx, vely, lambda, criteria)
NamespacesEmgu.CVCvInvokecvCalcOpticalFlowHS(IntPtr, IntPtr, Int32, IntPtr, IntPtr, Double, MCvTermCriteria)

www.emgu.com/wiki
Computes flow for every pixel of the first input image using Horn & Schunck algorithm
Declaration Syntax
C#Visual BasicVisual C++
public static void cvCalcOpticalFlowHS(
	IntPtr prev,
	IntPtr curr,
	int usePrevious,
	IntPtr velx,
	IntPtr vely,
	double lambda,
	MCvTermCriteria criteria
)
Public Shared Sub cvCalcOpticalFlowHS ( _
	prev As IntPtr, _
	curr As IntPtr, _
	usePrevious As Integer, _
	velx As IntPtr, _
	vely As IntPtr, _
	lambda As Double, _
	criteria As MCvTermCriteria _
)
public:
static void cvCalcOpticalFlowHS(
	IntPtr prev, 
	IntPtr curr, 
	int usePrevious, 
	IntPtr velx, 
	IntPtr vely, 
	double lambda, 
	MCvTermCriteria criteria
)
Parameters
prev (IntPtr)
First image, 8-bit, single-channel
curr (IntPtr)
Second image, 8-bit, single-channel
usePrevious (Int32)
Uses previous (input) velocity field
velx (IntPtr)
Horizontal component of the optical flow of the same size as input images, 32-bit floating-point, single-channel
vely (IntPtr)
Vertical component of the optical flow of the same size as input images, 32-bit floating-point, single-channel
lambda (Double)
Lagrangian multiplier
criteria (MCvTermCriteria)
Criteria of termination of velocity computing

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)