Click or drag to resize

NvidiaOpticalFlow_1_0 Constructor

http://www.emgu.com
Instantiate NVIDIA Optical Flow

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntax
public NvidiaOpticalFlow_1_0(
	int width,
	int height,
	NvidiaOpticalFlow_1_0PerfLevel perfPreset = NvidiaOpticalFlow_1_0PerfLevel.Slow,
	bool enableTemporalHints = false,
	bool enableExternalHints = false,
	bool enableCostBuffer = false,
	int gpuId = 0
)

Parameters

width
Type: SystemInt32
Width of input image in pixels.
height
Type: SystemInt32
Height of input image in pixels.
perfPreset (Optional)
Type: Emgu.CV.CudaNvidiaOpticalFlow_1_0PerfLevel
Optional parameter. Refer https://developer.nvidia.com/opticalflow-sdk for details about presets. Defaults to Slow.
enableTemporalHints (Optional)
Type: SystemBoolean
Optional Parameter. Flag to enable passing external hints buffer to calc(). Defaults to false.
enableExternalHints (Optional)
Type: SystemBoolean
Optional Parameter. Flag to enable passing external hints buffer to calc(). Defaults to false.
enableCostBuffer (Optional)
Type: SystemBoolean
Optional Parameter. Flag to enable cost buffer output from calc(). Defaults to false.
gpuId (Optional)
Type: SystemInt32
Optional parameter to select the GPU ID on which the optical flow should be computed. Useful in multi-GPU systems. Defaults to 0.
See Also