Table of Contents

Class DenseRLOFOpticalFlow

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-to-dense interpolation scheme.

public class DenseRLOFOpticalFlow : SharedPtrObject, IDisposable, IDenseOpticalFlow, IAlgorithm
Inheritance
DenseRLOFOpticalFlow
Implements
Inherited Members
Extension Methods

Constructors

DenseRLOFOpticalFlow(RLOFOpticalFlowParameter, float, Size, InterpolationType, int, float, float, bool, float, float)

Creates instance of DenseRLOFOpticalFlow

public DenseRLOFOpticalFlow(RLOFOpticalFlowParameter parameter, float forwardBackwardThreshold, Size gridStep, DenseRLOFOpticalFlow.InterpolationType interpType = InterpolationType.Epic, int epicK = 128, float epicSigma = 0.05, float epicLambda = 999, bool usePostProc = true, float fgsLambda = 500, float fgsSigma = 1.5)

Parameters

parameter RLOFOpticalFlowParameter

The RLOF optical flow parameters

forwardBackwardThreshold float

Threshold for the forward backward confidence check. Use 1.0f for default

gridStep Size

Size of the grid to spawn the motion vectors. Use (6, 6) for default

interpType DenseRLOFOpticalFlow.InterpolationType

Interpolation used to compute the dense optical flow.

epicK int

See Ximgproc.EdgeAwareInterpolator() K value.

epicSigma float

See Ximgproc.EdgeAwareInterpolator() sigma value.

epicLambda float

See Ximgproc.EdgeAwareInterpolator() lambda value.

usePostProc bool

Enables Ximgproc.fastGlobalSmootherFilter

fgsLambda float

See Ximgproc.EdgeAwareInterpolator().

fgsSigma float

See Ximgproc.EdgeAwareInterpolator().

Properties

AlgorithmPtr

Return the pointer to the algorithm object

public nint AlgorithmPtr { get; }

Property Value

nint

DenseOpticalFlowPtr

Gets the dense optical flow pointer.

public nint DenseOpticalFlowPtr { get; }

Property Value

nint

The pointer to the dense optical flow object.

Methods

DisposeObject()

Release the unmanaged resources

protected override void DisposeObject()