Class AgastFeatureDetector
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Detects corners using the AGAST algorithm
public class AgastFeatureDetector : Feature2D, IDisposable, ICvPtrHolder
- Inheritance
-
AgastFeatureDetector
- Implements
- Inherited Members
Constructors
AgastFeatureDetector(nint)
Constructor
protected AgastFeatureDetector(nint p)
Parameters
pnint
Properties
NonmaxSuppression
if true, non-maximum suppression is applied to detected corners (keypoints).
public int NonmaxSuppression { get; set; }
Property Value
Threshold
threshold on difference between intensity of the central pixel and pixels of a circle around this pixel.
public int Threshold { get; set; }
Property Value
Type
type one of the four neighborhoods as defined in the paper
public AgastFeatureDetector.DetectorType Type { get; set; }
Property Value
Methods
Create(int, bool, DetectorType)
The AgastFeatureDetector constructor
public static AgastFeatureDetector Create(int threshold = 10, bool nonmaxSuppression = true, AgastFeatureDetector.DetectorType type = DetectorType.OAST_9_16)
Parameters
thresholdintthreshold on difference between intensity of the central pixel and pixels of a circle around this pixel.
nonmaxSuppressionboolif true, non-maximum suppression is applied to detected corners (keypoints).
typeAgastFeatureDetector.DetectorType
Returns
DisposeManaged()
Releases managed resources
protected override void DisposeManaged()