OpenCV  3.1.0
Open Source Computer Vision
Public Member Functions | List of all members

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

#include "cudafeatures2d.hpp"

Inheritance diagram for cv::cuda::Feature2DAsync:
cv::cuda::FastFeatureDetector cv::cuda::ORB

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

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

Member Function Documentation

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
imageImage.
keypointsInput collection of keypoints.
descriptorsComputed descriptors. Row j is the descriptor for j-th keypoint.
streamCUDA stream.
virtual void cv::cuda::Feature2DAsync::convert ( InputArray  gpu_keypoints,
std::vector< KeyPoint > &  keypoints 
)
pure virtual

Converts keypoints array from internal representation to standard vector.

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.

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

Detects keypoints in an image.

Parameters
imageImage.
keypointsThe detected keypoints.
maskMask specifying where to look for keypoints (optional). It must be a 8-bit integer matrix with non-zero values in the region of interest.
streamCUDA stream.

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