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.0.1717 (2.4.0.1717)

Syntax

C#
public static void LK(
	Image<Gray, byte> prev,
	Image<Gray, byte> curr,
	Size winSize,
	Image<Gray, float> velx,
	Image<Gray, float> vely
)
Visual Basic
Public Shared Sub LK ( _
	prev As Image(Of Gray, Byte), _
	curr As Image(Of Gray, Byte), _
	winSize As Size, _
	velx As Image(Of Gray, Single), _
	vely As Image(Of Gray, Single) _
)
Visual C++
public:
static void LK(
	Image<Gray, unsigned char>^ prev, 
	Image<Gray, unsigned char>^ curr, 
	Size winSize, 
	Image<Gray, float>^ velx, 
	Image<Gray, float>^ vely
)

Parameters

prev
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
First image
curr
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
Second image
winSize
Type: System.Drawing..::..Size
Size of the averaging window used for grouping pixels
velx
Type: Emgu.CV..::..Image<(Of <(<'Gray, Single>)>)>
Horizontal component of the optical flow of the same size as input images
vely
Type: Emgu.CV..::..Image<(Of <(<'Gray, Single>)>)>
Vertical component of the optical flow of the same size as input images

See Also