| OpenCV 3.4.8 Open Source Computer Vision

Public Member Functions | List of all members
cv::cuda::Feature2DAsync Class Referenceabstract
CUDA-accelerated Computer Vision » Feature Detection and Description

Abstract base class for CUDA asynchronous 2D image feature detectors and descriptor extractors. More...

`#include <opencv2/cudafeatures2d.hpp>`

Inheritance diagram for cv::cuda::Feature2DAsync:

## Public Member Functions
virtual | ~Feature2DAsync ()
virtual void | computeAsync (InputArray image, OutputArray keypoints, OutputArray descriptors, Stream &stream=Stream::Null())
| Computes the descriptors for a set of keypoints detected in an image. More...
virtual void | convert (InputArray gpu_keypoints, std::vector< KeyPoint > &keypoints)=0
virtual void | detectAndComputeAsync (InputArray image, InputArray mask, OutputArray keypoints, OutputArray descriptors, bool useProvidedKeypoints=false, Stream &stream=Stream::Null())
virtual void | detectAsync (InputArray image, OutputArray keypoints, InputArray mask=noArray(), Stream &stream=Stream::Null())
| Detects keypoints in an image. More...

## Detailed Description

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

## Constructor & Destructor Documentation

## § ~Feature2DAsync()

virtual cv::cuda::Feature2DAsync::~Feature2DAsync | ( |  | ) |
| virtual

## Member Function Documentation

## § computeAsync()

virtual void cv::cuda::Feature2DAsync::computeAsync | ( | InputArray | image,
|  | OutputArray | keypoints,
|  | OutputArray | descriptors,
|  | Stream & | stream = `Stream::Null()`
| ) |  |
| virtual

Computes the descriptors for a set of keypoints detected in an image.

Parameters

  image | Image.
  keypoints | Input collection of keypoints.
  descriptors | Computed descriptors. Row j is the descriptor for j-th keypoint.
  stream | CUDA stream.

## § convert()

virtual void cv::cuda::Feature2DAsync::convert | ( | InputArray | gpu_keypoints,
|  | std::vector< KeyPoint > & | keypoints
| ) |  |
| pure virtual

Converts keypoints array from internal representation to standard vector.

## § detectAndComputeAsync()

virtual void cv::cuda::Feature2DAsync::detectAndComputeAsync | ( | InputArray | image,
|  | InputArray | mask,
|  | OutputArray | keypoints,
|  | OutputArray | descriptors,
|  | bool | useProvidedKeypoints = `false`,
|  | Stream & | stream = `Stream::Null()`
| ) |  |
| virtual

Detects keypoints and computes the descriptors.

## § detectAsync()

virtual void cv::cuda::Feature2DAsync::detectAsync | ( | InputArray | image,
|  | OutputArray | keypoints,
|  | InputArray | mask = `noArray()`,
|  | Stream & | stream = `Stream::Null()`
| ) |  |
| virtual

Detects keypoints in an image.

Parameters

  image | Image.
  keypoints | The detected keypoints.
  mask | Mask specifying where to look for keypoints (optional). It must be a 8-bit integer matrix with non-zero values in the region of interest.
  stream | CUDA stream.

The documentation for this class was generated from the following file:

- opencv2/cudafeatures2d.hpp