#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. | |
| 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 | |
| void | convertKeyPoints (Mat &d_keypoints, std::vector< KeyPoint > &keypoints) |
| convert keypoints to KeyPoint vector | |
| int | descriptorSize () const |
| returns the descriptor size in bytes | |
| void | setFastParams (int threshold, bool nonmaxSupression=true) |
| void | release () |
| release temporary buffer's memory | |
Public Attributes | |
| bool | blurForDescriptor |
| if true, image will be blurred before descriptors calculation | |
| cv::gpu::ORB_GPU::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 |
||
| ) | [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
| void cv::gpu::ORB_GPU::convertKeyPoints | ( | Mat & | d_keypoints, |
| std::vector< KeyPoint > & | keypoints | ||
| ) |
convert keypoints to KeyPoint vector
| int cv::gpu::ORB_GPU::descriptorSize | ( | ) | const |
returns the descriptor size in bytes
| void cv::gpu::ORB_GPU::setFastParams | ( | int | threshold, |
| bool | nonmaxSupression = true |
||
| ) |
release temporary buffer's memory
if true, image will be blurred before descriptors calculation