Table of Contents

Class CudaSparsePyrLKOpticalFlow

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

Sparse PyrLK optical flow

public class CudaSparsePyrLKOpticalFlow : SharedPtrObject, IDisposable, ICudaSparseOpticalFlow, IAlgorithm
Inheritance
CudaSparsePyrLKOpticalFlow
Implements
Inherited Members
Extension Methods

Constructors

CudaSparsePyrLKOpticalFlow(Size, int, int, bool)

Create the PyrLK optical flow solver

public CudaSparsePyrLKOpticalFlow(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

SparseOpticalFlowPtr

Pointer to the unmanaged SparseOpticalFlow object

public nint SparseOpticalFlowPtr { get; }

Property Value

nint

Methods

DisposeObject()

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

protected override void DisposeObject()