http://www.emgu.com
Computes flow for every pixel of the first input image using Lucas & Kanade algorithm

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static void cvCalcOpticalFlowLK(
	IntPtr prev,
	IntPtr curr,
	Size winSize,
	IntPtr velx,
	IntPtr vely
)
Visual Basic
Public Shared Sub cvCalcOpticalFlowLK ( _
	prev As IntPtr, _
	curr As IntPtr, _
	winSize As Size, _
	velx As IntPtr, _
	vely As IntPtr _
)
Visual C++
public:
static void cvCalcOpticalFlowLK(
	IntPtr prev, 
	IntPtr curr, 
	Size winSize, 
	IntPtr velx, 
	IntPtr vely
)

Parameters

prev
Type: System..::..IntPtr
First image, 8-bit, single-channel.
curr
Type: System..::..IntPtr
Second image, 8-bit, single-channel.
winSize
Type: System.Drawing..::..Size
Size of the averaging window used for grouping pixels.
velx
Type: System..::..IntPtr
Horizontal component of the optical flow of the same size as input images, 32-bit floating-point, single-channel.
vely
Type: System..::..IntPtr
Vertical component of the optical flow of the same size as input images, 32-bit floating-point, single-channel.

See Also