Table of Contents

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

p nint

Properties

NonmaxSuppression

if true, non-maximum suppression is applied to detected corners (keypoints).

public int NonmaxSuppression { get; set; }

Property Value

int

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

int

Type

type one of the four neighborhoods as defined in the paper

public AgastFeatureDetector.DetectorType Type { get; set; }

Property Value

AgastFeatureDetector.DetectorType

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

threshold int

threshold on difference between intensity of the central pixel and pixels of a circle around this pixel.

nonmaxSuppression bool

if true, non-maximum suppression is applied to detected corners (keypoints).

type AgastFeatureDetector.DetectorType

Returns

AgastFeatureDetector

DisposeManaged()

Releases managed resources

protected override void DisposeManaged()