http://www.emgu.com
Compute the optical flow.

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.10.1935 (2.4.10.1935)

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
)
F#
member Compute : 
        frame0 : GpuImage<Gray, float32> * 
        frame1 : GpuImage<Gray, float32> * 
        u : GpuImage<Gray, byte> * 
        v : GpuImage<Gray, byte> * 
        stream : Stream -> unit 

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).

See Also