Class CudaSparsePyrLKOpticalFlow
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
SizeWindows size. Use 21x21 for default
maxLevel
intThe maximum number of pyramid levels.
iters
intThe number of iterations.
useInitialFlow
boolWeather or not use the initial flow in the input matrix.
Properties
AlgorithmPtr
Pointer to the unmanaged Algorithm object
public nint AlgorithmPtr { get; }
Property Value
SparseOpticalFlowPtr
Pointer to the unmanaged SparseOpticalFlow object
public nint SparseOpticalFlowPtr { get; }
Property Value
Methods
DisposeObject()
Release all the unmanaged memory associated with this optical flow solver.
protected override void DisposeObject()