Class cv::cuda::Feature2DAsync#
Abstract base class for CUDA asynchronous 2D image feature detectors and descriptor extractors.
#include <opencv2/cudafeatures2d.hpp>Collaboration diagram for cv::cuda::Feature2DAsync:
Public Member Functions#
Public Member Functions inherited from cv::Feature2D
Return |
Name |
Description |
|---|---|---|
|
|
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). |
|
||
|
||
|
||
|
||
|
|
Detects keypoints in an image (first variant) or image set (second variant). |
|
||
|
||
|
Return true if detector object is empty. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
||
|
Stores algorithm parameters in a file storage. |
|
|
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Abstract base class for CUDA asynchronous 2D image feature detectors and descriptor extractors.
Constructor & Destructor Documentation#
~Feature2DAsync()#
cv::cuda::Feature2DAsync::~Feature2DAsync()
Member Function Documentation#
computeAsync()#
void cv::cuda::Feature2DAsync::computeAsync(
InputArray image,
OutputArray keypoints,
OutputArray descriptors,
Stream & stream = Stream::Null() )
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()#
void cv::cuda::Feature2DAsync::convert(
InputArray gpu_keypoints,
std::vector< KeyPoint > & keypoints )
Converts keypoints array from internal representation to standard vector.
detectAndComputeAsync()#
void cv::cuda::Feature2DAsync::detectAndComputeAsync(
InputArray image,
InputArray mask,
OutputArray keypoints,
OutputArray descriptors,
bool useProvidedKeypoints = false,
Stream & stream = Stream::Null() )
Detects keypoints and computes the descriptors.
detectAsync()#
void cv::cuda::Feature2DAsync::detectAsync(
InputArray image,
OutputArray keypoints,
InputArray mask = noArray(),
Stream & stream = Stream::Null() )
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.
Here is the call graph for this function:
Source file#
The documentation for this class was generated from the following file:
opencv2/cudafeatures2d.hpp