Table of Contents

Class Feature2DAsyncExtension

Namespace
Emgu.CV.Cuda
Assembly
Emgu.CV.dll

Class that contains extension methods for Feature2DAsync

public static class Feature2DAsyncExtension
Inheritance
Feature2DAsyncExtension
Inherited Members

Methods

ComputeAsync(IFeature2DAsync, IInputArray, IOutputArray, IOutputArray, Stream)

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

public static void ComputeAsync(this IFeature2DAsync feature2DAsync, IInputArray image, IOutputArray keypoints, IOutputArray descriptors, Stream stream = null)

Parameters

feature2DAsync IFeature2DAsync

The Feature2DAsync object

image IInputArray

The image to compute descriptors from

keypoints IOutputArray

The keypoints where the descriptor computation is perfromed

descriptors IOutputArray

The descriptors from the given keypoints

stream Stream

Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).

Convert(IFeature2DAsync, IInputArray, VectorOfKeyPoint)

Converts keypoints array from internal representation to standard vector.

public static void Convert(this IFeature2DAsync feature2DAsync, IInputArray gpuKeypoints, VectorOfKeyPoint keypoints)

Parameters

feature2DAsync IFeature2DAsync

The Feature2DAsync object

gpuKeypoints IInputArray

GpuMat representation of the keypoints.

keypoints VectorOfKeyPoint

Vector of keypoints

DetectAndComputeAsync(IFeature2DAsync, IInputArray, IInputArray, IOutputArray, IOutputArray, bool, Stream)

Detect keypoints in an image and compute the descriptors on the image from the keypoint locations.

public static void DetectAndComputeAsync(this IFeature2DAsync feature2DAsync, IInputArray image, IInputArray mask, IOutputArray keyPoints, IOutputArray descriptors, bool useProvidedKeyPoints, Stream stream = null)

Parameters

feature2DAsync IFeature2DAsync

The Feature2DAsync object

image IInputArray

The image

mask IInputArray

The optional mask, can be null if not needed

keyPoints IOutputArray

The detected keypoints will be stored in this vector

descriptors IOutputArray

The descriptors from the keypoints

useProvidedKeyPoints bool

If true, the method will skip the detection phase and will compute descriptors for the provided keypoints

stream Stream

Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).

DetectAsync(IFeature2DAsync, IInputArray, IOutputArray, IInputArray, Stream)

Detect the features in the image

public static void DetectAsync(this IFeature2DAsync feature2DAsync, IInputArray image, IOutputArray keypoints, IInputArray mask = null, Stream stream = null)

Parameters

feature2DAsync IFeature2DAsync

The Feature2DAsync object

image IInputArray

The image from which the features will be detected from

keypoints IOutputArray

The result vector of keypoints

mask IInputArray

The optional mask.

stream Stream

Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).