Class cv::cuda::Feature2DAsync#

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

Collaboration diagram for cv::cuda::Feature2DAsync:

Public Member Functions#

Public Member Functions inherited from cv::Feature2D
Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

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:

cv::cuda::Feature2DAsync::detectAsync Node1 cv::cuda::Feature2DAsync ::detectAsync Node2 cv::noArray Node1->Node2

cv::cuda::Feature2DAsync::detectAsync Node1 cv::cuda::Feature2DAsync ::detectAsync Node2 cv::noArray Node1->Node2

Source file#

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