http://www.emgu.com
Computes flow for every pixel of the first input image using Horn & Schunck 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 cvCalcOpticalFlowHS(
	IntPtr prev,
	IntPtr curr,
	bool usePrevious,
	IntPtr velx,
	IntPtr vely,
	double lambda,
	MCvTermCriteria criteria
)
Visual Basic
Public Shared Sub cvCalcOpticalFlowHS ( 
	prev As IntPtr,
	curr As IntPtr,
	usePrevious As Boolean,
	velx As IntPtr,
	vely As IntPtr,
	lambda As Double,
	criteria As MCvTermCriteria
)
Visual C++
public:
static void cvCalcOpticalFlowHS(
	IntPtr prev, 
	IntPtr curr, 
	bool usePrevious, 
	IntPtr velx, 
	IntPtr vely, 
	double lambda, 
	MCvTermCriteria criteria
)
F#
static member cvCalcOpticalFlowHS : 
        prev : IntPtr * 
        curr : IntPtr * 
        usePrevious : bool * 
        velx : IntPtr * 
        vely : IntPtr * 
        lambda : float * 
        criteria : MCvTermCriteria -> unit 

Parameters

prev
Type: System..::..IntPtr
First image, 8-bit, single-channel
curr
Type: System..::..IntPtr
Second image, 8-bit, single-channel
usePrevious
Type: System..::..Boolean
Uses previous (input) velocity field
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
lambda
Type: System..::..Double
Lagrangian multiplier
criteria
Type: Emgu.CV.Structure..::..MCvTermCriteria
Criteria of termination of velocity computing

See Also