C# Класс Emgu.CV.Features2D.SurfDetector

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
extended int
hessianThreshold double
nOctaveLayers int
nOctaves int

Открытые методы

Метод Описание
ComputeDescriptors ( Byte>.Image image, byte>.Image mask, MKeyPoint keyPoints ) : Emgu.CV.Features2D.ImageFeature[]

Compute the descriptor given the image and the point location

ComputeDescriptors ( byte>.Image image, MKeyPoint keyPoints ) : Emgu.CV.Features2D.ImageFeature[]

Compute the ImageFeature on the image from the given keypoint locations.

DetectFeatures ( Byte>.Image image, byte>.Image mask ) : Emgu.CV.Features2D.ImageFeature[]

Detect image features from the given image

DetectKeyPoints ( Byte>.Image image, byte>.Image mask ) : Emgu.CV.Structure.MKeyPoint[]

Detect the SURF keypoints from the image

DetectKeyPoints ( byte>.Image image ) : Emgu.CV.Structure.MKeyPoint[]

Detect the keypoints in the image

SurfDetector ( double hessianThresh, bool extendedFlag ) : System

Create a MCvSURFParams using the specific values

Приватные методы

Метод Описание
CvSURFDetectorComputeDescriptors ( SurfDetector &detector, IntPtr image, IntPtr mask, IntPtr keypoints, IntPtr descriptors ) : void
CvSURFDetectorDetectFeature ( SurfDetector &detector, IntPtr image, IntPtr mask, IntPtr keypoints, IntPtr descriptors ) : void
CvSURFDetectorDetectKeyPoints ( SurfDetector &detector, IntPtr image, IntPtr mask, IntPtr keypoints ) : void

Описание методов

ComputeDescriptors() публичный Метод

Compute the descriptor given the image and the point location
public ComputeDescriptors ( Byte>.Image image, byte>.Image mask, MKeyPoint keyPoints ) : Emgu.CV.Features2D.ImageFeature[]
image Byte>.Image The image where the descriptor will be computed from
mask byte>.Image The optional mask, can be null if not needed
keyPoints Emgu.CV.Structure.MKeyPoint The keypoint where the descriptor will be computed from
Результат Emgu.CV.Features2D.ImageFeature[]

ComputeDescriptors() публичный Метод

Compute the ImageFeature on the image from the given keypoint locations.
public ComputeDescriptors ( byte>.Image image, MKeyPoint keyPoints ) : Emgu.CV.Features2D.ImageFeature[]
image byte>.Image The image to compute descriptors from
keyPoints Emgu.CV.Structure.MKeyPoint The keypoints where the descriptor computation is perfromed
Результат Emgu.CV.Features2D.ImageFeature[]

DetectFeatures() публичный Метод

Detect image features from the given image
public DetectFeatures ( Byte>.Image image, byte>.Image mask ) : Emgu.CV.Features2D.ImageFeature[]
image Byte>.Image The image to detect features from
mask byte>.Image The optional mask, can be null if not needed
Результат Emgu.CV.Features2D.ImageFeature[]

DetectKeyPoints() публичный Метод

Detect the SURF keypoints from the image
public DetectKeyPoints ( Byte>.Image image, byte>.Image mask ) : Emgu.CV.Structure.MKeyPoint[]
image Byte>.Image The image to extract SURF features from
mask byte>.Image The optional mask, can be null if not needed
Результат Emgu.CV.Structure.MKeyPoint[]

DetectKeyPoints() публичный Метод

Detect the keypoints in the image
public DetectKeyPoints ( byte>.Image image ) : Emgu.CV.Structure.MKeyPoint[]
image byte>.Image The image from which the key point will be detected from
Результат Emgu.CV.Structure.MKeyPoint[]

SurfDetector() публичный Метод

Create a MCvSURFParams using the specific values
public SurfDetector ( double hessianThresh, bool extendedFlag ) : System
hessianThresh double /// Only features with keypoint.hessian larger than that are extracted. /// good default value is ~300-500 (can depend on the average local contrast and sharpness of the image). /// user can further filter out some features based on their hessian values and other characteristics ///
extendedFlag bool /// false means basic descriptors (64 elements each), /// true means extended descriptors (128 elements each) ///
Результат System

Описание свойств

extended публичное свойство

0 means basic descriptors (64 elements each), 1 means extended descriptors (128 elements each)
public int extended
Результат int

hessianThreshold публичное свойство

Only features with keypoint.hessian larger than that are extracted. good default value is ~300-500 (can depend on the average local contrast and sharpness of the image). user can further filter out some features based on their hessian values and other characteristics
public double hessianThreshold
Результат double

nOctaveLayers публичное свойство

The number of layers within each octave (4 by default)
public int nOctaveLayers
Результат int

nOctaves публичное свойство

The number of octaves to be used for extraction. With each next octave the feature size is doubled (3 by default)
public int nOctaves
Результат int