Computes flow for every pixel of the first input image using Lucas & Kanade algorithm
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void CalcOpticalFlowLK( CvArr prev, CvArr curr, CvSize winSize, CvArr velx, CvArr vely )
Parameters
- prev
- Type: OpenCvSharpCvArr
First image, 8-bit, single-channel. - curr
- Type: OpenCvSharpCvArr
Second image, 8-bit, single-channel. - winSize
- Type: OpenCvSharpCvSize
Size of the averaging window used for grouping pixels. - velx
- Type: OpenCvSharpCvArr
Horizontal component of the optical flow of the same size as input images, 32-bit floating-point, single-channel. - vely
- Type: OpenCvSharpCvArr
Vertical component of the optical flow of the same size as input images, 32-bit floating-point, single-channel.
See Also