Feature2DAsyncExtensionDetectAndComputeAsync Method |
http://www.emgu.com
Detect keypoints in an image and compute the descriptors on the image from the keypoint locations.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntaxpublic static void DetectAndComputeAsync(
this IFeature2DAsync feature2DAsync,
IInputArray image,
IInputArray mask,
IOutputArray keyPoints,
IOutputArray descriptors,
bool useProvidedKeyPoints,
Stream stream = null
)
<ExtensionAttribute>
Public Shared Sub DetectAndComputeAsync (
feature2DAsync As IFeature2DAsync,
image As IInputArray,
mask As IInputArray,
keyPoints As IOutputArray,
descriptors As IOutputArray,
useProvidedKeyPoints As Boolean,
Optional stream As Stream = Nothing
)
public:
[ExtensionAttribute]
static void DetectAndComputeAsync(
IFeature2DAsync^ feature2DAsync,
IInputArray^ image,
IInputArray^ mask,
IOutputArray^ keyPoints,
IOutputArray^ descriptors,
bool useProvidedKeyPoints,
Stream^ stream = nullptr
)
[<ExtensionAttribute>]
static member DetectAndComputeAsync :
feature2DAsync : IFeature2DAsync *
image : IInputArray *
mask : IInputArray *
keyPoints : IOutputArray *
descriptors : IOutputArray *
useProvidedKeyPoints : bool *
?stream : Stream
(* Defaults:
let _stream = defaultArg stream null
*)
-> unit
Parameters
- feature2DAsync
- Type: Emgu.CV.CudaIFeature2DAsync
The Feature2DAsync object - image
- Type: Emgu.CVIInputArray
The image - mask
- Type: Emgu.CVIInputArray
The optional mask, can be null if not needed - keyPoints
- Type: Emgu.CVIOutputArray
The detected keypoints will be stored in this vector - descriptors
- Type: Emgu.CVIOutputArray
The descriptors from the keypoints - useProvidedKeyPoints
- Type: SystemBoolean
If true, the method will skip the detection phase and will compute descriptors for the provided keypoints - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IFeature2DAsync. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also