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.0.1.0 (2.0.1.0)

Syntax

C#
public static void cvCalcOpticalFlowLK(
	IntPtr prev,
	IntPtr curr,
	Size winSize,
	IntPtr velx,
	IntPtr vely
)
Visual Basic (Declaration)
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