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 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
)
F#
static member cvCalcOpticalFlowLK : 
        prev : IntPtr * 
        curr : IntPtr * 
        winSize : Size * 
        velx : IntPtr * 
        vely : IntPtr -> unit 

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