Class CudaDensePyrLKOpticalFlow
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
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
DenseOpticalFlowPtr
Pointer to the unmanaged DenseOpticalFlow object
public nint DenseOpticalFlowPtr { get; }
Property Value
Methods
DisposeObject()
Release all the unmanaged memory associated with this optical flow solver.
protected override void DisposeObject()