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 HS(
	Image<Gray, byte> prev,
	Image<Gray, byte> curr,
	bool usePrevious,
	Image<Gray, float> velx,
	Image<Gray, float> vely,
	double lambda,
	MCvTermCriteria criteria
)
Visual Basic
Public Shared Sub HS ( 
	prev As Image(Of Gray, Byte),
	curr As Image(Of Gray, Byte),
	usePrevious As Boolean,
	velx As Image(Of Gray, Single),
	vely As Image(Of Gray, Single),
	lambda As Double,
	criteria As MCvTermCriteria
)
Visual C++
public:
static void HS(
	Image<Gray, unsigned char>^ prev, 
	Image<Gray, unsigned char>^ curr, 
	bool usePrevious, 
	Image<Gray, float>^ velx, 
	Image<Gray, float>^ vely, 
	double lambda, 
	MCvTermCriteria criteria
)
F#
static member HS : 
        prev : Image<Gray, byte> * 
        curr : Image<Gray, byte> * 
        usePrevious : bool * 
        velx : Image<Gray, float32> * 
        vely : Image<Gray, float32> * 
        lambda : float * 
        criteria : MCvTermCriteria -> unit 

Parameters

prev
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
First image, 8-bit, single-channel
curr
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
Second image, 8-bit, single-channel
usePrevious
Type: System..::..Boolean
Uses previous (input) velocity field
velx
Type: Emgu.CV..::..Image<(Of <(<'Gray, Single>)>)>
Horizontal component of the optical flow of the same size as input images, 32-bit floating-point, single-channel
vely
Type: Emgu.CV..::..Image<(Of <(<'Gray, Single>)>)>
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