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.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvCalcOpticalFlowLK(
	IntPtr prev,
	IntPtr curr,
	Size winSize,
	IntPtr velx,
	IntPtr vely
)
Public Shared Sub cvCalcOpticalFlowLK ( _
	prev As IntPtr, _
	curr As IntPtr, _
	winSize As Size, _
	velx As IntPtr, _
	vely As IntPtr _
)
public:
static void cvCalcOpticalFlowLK(
	IntPtr prev, 
	IntPtr curr, 
	Size winSize, 
	IntPtr velx, 
	IntPtr vely
)

Parameters

prev
IntPtr
First image, 8-bit, single-channel.
curr
IntPtr
Second image, 8-bit, single-channel.
winSize
Size
Size of the averaging window used for grouping pixels.
velx
IntPtr
Horizontal component of the optical flow of the same size as input images, 32-bit floating-point, single-channel.
vely
IntPtr
Vertical component of the optical flow of the same size as input images, 32-bit floating-point, single-channel.

See Also