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.2.0.1010 (2.2.0.1010)

Syntax

         
 C#  Visual Basic  Visual 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
)
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 _
)
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
)

Parameters

prev
Image<(Of <(<'Gray, Byte>)>)>
First image, 8-bit, single-channel
curr
Image<(Of <(<'Gray, Byte>)>)>
Second image, 8-bit, single-channel
usePrevious
Boolean
Uses previous (input) velocity field
velx
Image<(Of <(<'Gray, Single>)>)>
Horizontal component of the optical flow of the same size as input images, 32-bit floating-point, single-channel
vely
Image<(Of <(<'Gray, Single>)>)>
Vertical component of the optical flow of the same size as input images, 32-bit floating-point, single-channel
lambda
Double
Lagrangian multiplier
criteria
MCvTermCriteria
Criteria of termination of velocity computing

See Also