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.10.1935 (2.4.10.1935)

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
)
F#
static member LK : 
        prev : Image<Gray, byte> * 
        curr : Image<Gray, byte> * 
        winSize : Size * 
        velx : Image<Gray, float32> * 
        vely : Image<Gray, float32> -> unit 

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