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.1.0.649 (2.1.0.649)
Syntax
C# | Visual Basic | 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
- 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