C# 클래스 OpenCvSharp.Feature2D

Abstract base class for 2D image feature detectors and descriptor extractors
상속: Algorithm
파일 보기 프로젝트 열기: shimat/opencvsharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Feature2D System
FromPtr Feature2D

공개 메소드들

메소드 설명
Compute ( IEnumerable images, KeyPoint &keypoints, IEnumerable descriptors ) : void

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

Compute ( InputArray image, KeyPoint inKeypoints, KeyPoint &outKeypoints, OutputArray descriptors ) : void

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

Compute ( InputArray image, KeyPoint &keypoints, OutputArray descriptors ) : void

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

Detect ( InputArray image, OpenCvSharp.Mat mask = null ) : KeyPoint[]

Detect keypoints in an image.

Detect ( OpenCvSharp.Mat image, OpenCvSharp.Mat mask = null ) : KeyPoint[]

Detect keypoints in an image.

Detect ( IEnumerable images, IEnumerable masks = null ) : KeyPoint[][]

Detect keypoints in an image set.

DetectAndCompute ( InputArray image, InputArray mask, KeyPoint &keypoints, OutputArray descriptors, bool useProvidedKeypoints = false ) : void

Detects keypoints and computes the descriptors

Empty ( ) : bool

Return true if detector object is empty

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the resources

비공개 메소드들

메소드 설명
Feature2D ( ) : System

FromPtr ( IntPtr ptr ) : Feature2D

Creates instance from cv::Ptr<T> . ptr is disposed when the wrapper disposes.

메소드 상세

Compute() 공개 메소드

Compute the descriptors for a keypoints collection detected in image collection.
public Compute ( IEnumerable images, KeyPoint &keypoints, IEnumerable descriptors ) : void
images IEnumerable Image collection.
keypoints KeyPoint Input keypoints collection. keypoints[i] is keypoints detected in images[i]. /// Keypoints for which a descriptor cannot be computed are removed.
descriptors IEnumerable Descriptor collection. descriptors[i] are descriptors computed for set keypoints[i].
리턴 void

Compute() 공개 메소드

Compute the descriptors for a set of keypoints in an image.
public Compute ( InputArray image, KeyPoint inKeypoints, KeyPoint &outKeypoints, OutputArray descriptors ) : void
image InputArray The image.
inKeypoints KeyPoint The input keypoints. Keypoints for which a descriptor cannot be computed are removed.
outKeypoints KeyPoint
descriptors OutputArray Copmputed descriptors. Row i is the descriptor for keypoint i.
리턴 void

Compute() 공개 메소드

Compute the descriptors for a set of keypoints in an image.
public Compute ( InputArray image, KeyPoint &keypoints, OutputArray descriptors ) : void
image InputArray The image.
keypoints KeyPoint The input keypoints. Keypoints for which a descriptor cannot be computed are removed.
descriptors OutputArray Copmputed descriptors. Row i is the descriptor for keypoint i.
리턴 void

Detect() 공개 메소드

Detect keypoints in an image.
public Detect ( InputArray image, OpenCvSharp.Mat mask = null ) : KeyPoint[]
image InputArray The image.
mask OpenCvSharp.Mat Mask specifying where to look for keypoints (optional). /// Must be a char matrix with non-zero values in the region of interest.
리턴 KeyPoint[]

Detect() 공개 메소드

Detect keypoints in an image.
public Detect ( OpenCvSharp.Mat image, OpenCvSharp.Mat mask = null ) : KeyPoint[]
image OpenCvSharp.Mat The image.
mask OpenCvSharp.Mat Mask specifying where to look for keypoints (optional). /// Must be a char matrix with non-zero values in the region of interest.
리턴 KeyPoint[]

Detect() 공개 메소드

Detect keypoints in an image set.
public Detect ( IEnumerable images, IEnumerable masks = null ) : KeyPoint[][]
images IEnumerable Image collection.
masks IEnumerable Masks for image set. masks[i] is a mask for images[i].
리턴 KeyPoint[][]

DetectAndCompute() 공개 메소드

Detects keypoints and computes the descriptors
public DetectAndCompute ( InputArray image, InputArray mask, KeyPoint &keypoints, OutputArray descriptors, bool useProvidedKeypoints = false ) : void
image InputArray
mask InputArray
keypoints KeyPoint
descriptors OutputArray
useProvidedKeypoints bool
리턴 void

Dispose() 보호된 메소드

Releases the resources
protected Dispose ( bool disposing ) : void
disposing bool /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. ///
리턴 void

Empty() 공개 메소드

Return true if detector object is empty
public Empty ( ) : bool
리턴 bool