Table of Contents

Class Feature2D

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Abstract base class for 2D image feature detectors and descriptor extractors

public class Feature2D : Algorithm, IDisposable
Inheritance
Feature2D
Implements
Derived
Inherited Members

Constructors

Feature2D(nint, Action<nint>)

Constructor for the direct-allocation pattern (raw T* only).

Feature2D(nint, nint, Action<nint>)

Constructor for the factory pattern (cv::Ptr<T>* + raw T*).

Properties

DefaultNorm
DescriptorSize
DescriptorType

Methods

Compute(InputArray, ref KeyPoint[], OutputArray)

Compute the descriptors for a set of keypoints in an image.

Compute(IEnumerable<Mat>, ref KeyPoint[][], IEnumerable<Mat>)

Compute the descriptors for a keypoints collection detected in image collection.

Detect(InputArray, InputArray)

Detect keypoints in an image.

Detect(Mat, Mat?)

Detect keypoints in an image.

Detect(IEnumerable<Mat>, IEnumerable<Mat>?)

Detect keypoints in an image set.

DetectAndCompute(InputArray, InputArray, out KeyPoint[], OutputArray, bool)

Detects keypoints and computes the descriptors

Empty()

Return true if detector object is empty

GetDefaultName()
Read(string)
Write(string)