http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Compute the optical flow.
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public void Compute( GpuImage<Gray, float> frame0, GpuImage<Gray, float> frame1, GpuImage<Gray, byte> u, GpuImage<Gray, byte> v, Stream stream ) |
Visual Basic |
---|
Public Sub Compute ( _ frame0 As GpuImage(Of Gray, Single), _ frame1 As GpuImage(Of Gray, Single), _ u As GpuImage(Of Gray, Byte), _ v As GpuImage(Of Gray, Byte), _ stream As Stream _ ) |
Visual C++ |
---|
public: void Compute( GpuImage<Gray, float>^ frame0, GpuImage<Gray, float>^ frame1, GpuImage<Gray, unsigned char>^ u, GpuImage<Gray, unsigned char>^ v, Stream^ stream ) |
Parameters
- frame0
- Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'Gray, Single>)>)>
Source frame
- frame1
- Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'Gray, Single>)>)>
Frame to track (with the same size as frame0)
- u
- Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'Gray, Byte>)>)>
Flow horizontal component (along x axis)
- v
- Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'Gray, Byte>)>)>
Flow vertical component (along y axis)
- stream
- Type: Emgu.CV.GPU..::..Stream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).