#include <gpu.hpp>
Public Types | |
enum | { X_ROW = 0, Y_ROW, RESPONSE_ROW, ANGLE_ROW, OCTAVE_ROW, SIZE_ROW, ROWS_COUNT } |
enum | { DEFAULT_FAST_THRESHOLD = 20 } |
Public Member Functions | |
ORB_GPU (int nFeatures=500, float scaleFactor=1.2f, int nLevels=8, int edgeThreshold=31, int firstLevel=0, int WTA_K=2, int scoreType=0, int patchSize=31) | |
Constructor. More... | |
void | operator() (const GpuMat &image, const GpuMat &mask, std::vector< KeyPoint > &keypoints) |
void | operator() (const GpuMat &image, const GpuMat &mask, GpuMat &keypoints) |
void | operator() (const GpuMat &image, const GpuMat &mask, std::vector< KeyPoint > &keypoints, GpuMat &descriptors) |
void | operator() (const GpuMat &image, const GpuMat &mask, GpuMat &keypoints, GpuMat &descriptors) |
void | downloadKeyPoints (GpuMat &d_keypoints, std::vector< KeyPoint > &keypoints) |
download keypoints from device to host memory More... | |
void | convertKeyPoints (Mat &d_keypoints, std::vector< KeyPoint > &keypoints) |
convert keypoints to KeyPoint vector More... | |
int | descriptorSize () const |
returns the descriptor size in bytes More... | |
void | setFastParams (int threshold, bool nonmaxSuppression=true) |
void | release () |
release temporary buffer's memory More... | |
Public Attributes | |
bool | blurForDescriptor |
if true, image will be blurred before descriptors calculation More... | |
|
explicit |
Constructor.
void cv::gpu::ORB_GPU::operator() | ( | const GpuMat & | image, |
const GpuMat & | mask, | ||
std::vector< KeyPoint > & | keypoints | ||
) |
Compute the ORB features on an image image - the image to compute the features (supports only CV_8UC1 images) mask - the mask to apply keypoints - the resulting keypoints
void cv::gpu::ORB_GPU::operator() | ( | const GpuMat & | image, |
const GpuMat & | mask, | ||
std::vector< KeyPoint > & | keypoints, | ||
GpuMat & | descriptors | ||
) |
Compute the ORB features and descriptors on an image image - the image to compute the features (supports only CV_8UC1 images) mask - the mask to apply keypoints - the resulting keypoints descriptors - descriptors array
void cv::gpu::ORB_GPU::operator() | ( | const GpuMat & | image, |
const GpuMat & | mask, | ||
GpuMat & | keypoints, | ||
GpuMat & | descriptors | ||
) |
void cv::gpu::ORB_GPU::downloadKeyPoints | ( | GpuMat & | d_keypoints, |
std::vector< KeyPoint > & | keypoints | ||
) |
download keypoints from device to host memory
convert keypoints to KeyPoint vector
int cv::gpu::ORB_GPU::descriptorSize | ( | ) | const |
returns the descriptor size in bytes
void cv::gpu::ORB_GPU::release | ( | ) |
release temporary buffer's memory
bool cv::gpu::ORB_GPU::blurForDescriptor |
if true, image will be blurred before descriptors calculation