Class CudaGoodFeaturesToTrackDetector
Cuda implementation of GoodFeaturesToTrackDetector
public class CudaGoodFeaturesToTrackDetector : SharedPtrObject, IDisposable
- Inheritance
-
CudaGoodFeaturesToTrackDetector
- Implements
- Inherited Members
Constructors
CudaGoodFeaturesToTrackDetector(DepthType, int, int, double, double, int, bool, double)
Create the Cuda implementation of GoodFeaturesToTrackDetector
public CudaGoodFeaturesToTrackDetector(DepthType srcDepth, int srcChannels, int maxCorners = 1000, double qualityLevel = 0.01, double minDistance = 0, int blockSize = 3, bool useHarrisDetector = false, double harrisK = 0.04)
Parameters
srcDepth
DepthTypeThe depth of the src image
srcChannels
intThe number of channels in the src image
maxCorners
intThe maximum number of channels
qualityLevel
doubleThe quality level
minDistance
doubleThe minimum distance
blockSize
intThe block size
useHarrisDetector
boolIf true, use Harris detector
harrisK
doubleHarris K
Methods
Detect(IInputArray, IOutputArray, IInputArray, Stream)
Find the good features to track
public void Detect(IInputArray image, IOutputArray corners, IInputArray mask = null, Stream stream = null)
Parameters
image
IInputArrayThe input image
corners
IOutputArrayThe output corners
mask
IInputArrayOptional mask
stream
StreamUse a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
DisposeObject()
Release all the unmanaged memory associated with this detector
protected override void DisposeObject()