Emgu CV Library Documentation
LK Method (prev, curr, winSize, velx, vely)
NamespacesEmgu.CVOpticalFlowLK(Image<(Of <(Gray, Byte>)>), Image<(Of <(Gray, Byte>)>), Size, Image<(Of <(Gray, Single>)>), Image<(Of <(Gray, Single>)>))

www.emgu.com/wiki
Computes flow for every pixel of the first input image using Lucas & Kanade algorithm
Declaration Syntax
C#Visual BasicVisual C++
public static void LK(
	Image<Gray, byte> prev,
	Image<Gray, byte> curr,
	Size winSize,
	Image<Gray, float> velx,
	Image<Gray, float> vely
)
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) _
)
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 (Image<(Of <(Gray, Byte>)>))
First image
curr (Image<(Of <(Gray, Byte>)>))
Second image
winSize (Size)
Size of the averaging window used for grouping pixels
velx (Image<(Of <(Gray, Single>)>))
Horizontal component of the optical flow of the same size as input images
vely (Image<(Of <(Gray, Single>)>))
Vertical component of the optical flow of the same size as input images

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