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