http://www.emgu.com
Computes flow for every pixel of the first input image using Horn & Schunck algorithm
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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
) |
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