OpenCV  2.4.13.7
Open Source Computer Vision
cv::gpu::ORB_GPU Class Reference

#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...
 

Member Enumeration Documentation

§ anonymous enum

anonymous enum
Enumerator
X_ROW 
Y_ROW 
RESPONSE_ROW 
ANGLE_ROW 
OCTAVE_ROW 
SIZE_ROW 
ROWS_COUNT 

§ anonymous enum

anonymous enum
Enumerator
DEFAULT_FAST_THRESHOLD 

Constructor & Destructor Documentation

§ ORB_GPU()

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.

Member Function Documentation

§ convertKeyPoints()

void cv::gpu::ORB_GPU::convertKeyPoints ( Mat d_keypoints,
std::vector< KeyPoint > &  keypoints 
)

convert keypoints to KeyPoint vector

§ descriptorSize()

int cv::gpu::ORB_GPU::descriptorSize ( ) const
inline

returns the descriptor size in bytes

§ downloadKeyPoints()

void cv::gpu::ORB_GPU::downloadKeyPoints ( GpuMat d_keypoints,
std::vector< KeyPoint > &  keypoints 
)

download keypoints from device to host memory

§ operator()() [1/4]

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

§ operator()() [2/4]

void cv::gpu::ORB_GPU::operator() ( const GpuMat image,
const GpuMat mask,
GpuMat keypoints 
)

§ operator()() [3/4]

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

§ operator()() [4/4]

void cv::gpu::ORB_GPU::operator() ( const GpuMat image,
const GpuMat mask,
GpuMat keypoints,
GpuMat descriptors 
)

§ release()

void cv::gpu::ORB_GPU::release ( )

release temporary buffer's memory

§ setFastParams()

void cv::gpu::ORB_GPU::setFastParams ( int  threshold,
bool  nonmaxSuppression = true 
)
inline

Member Data Documentation

§ blurForDescriptor

bool cv::gpu::ORB_GPU::blurForDescriptor

if true, image will be blurred before descriptors calculation


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