Table of Contents

Class CudaDensePyrLKOpticalFlow

Namespace
Emgu.CV.Cuda
Assembly
Emgu.CV.dll

PyrLK optical flow

public class CudaDensePyrLKOpticalFlow : SharedPtrObject, IDisposable, ICudaDenseOpticalFlow, IAlgorithm
Inheritance
CudaDensePyrLKOpticalFlow
Implements
Inherited Members
Extension Methods

Constructors

CudaDensePyrLKOpticalFlow(Size, int, int, bool)

Create the PyrLK optical flow solver

public CudaDensePyrLKOpticalFlow(Size winSize, int maxLevel = 3, int iters = 30, bool useInitialFlow = false)

Parameters

winSize Size

Windows size. Use 21x21 for default

maxLevel int

The maximum number of pyramid levels.

iters int

The number of iterations.

useInitialFlow bool

Weather or not use the initial flow in the input matrix.

Properties

AlgorithmPtr

Pointer to the unmanaged Algorithm object

public nint AlgorithmPtr { get; }

Property Value

nint

DenseOpticalFlowPtr

Pointer to the unmanaged DenseOpticalFlow object

public nint DenseOpticalFlowPtr { get; }

Property Value

nint

Methods

DisposeObject()

Release all the unmanaged memory associated with this optical flow solver.

protected override void DisposeObject()