44 #ifndef __OPENCV_NONFREE_OCL_HPP__
45 #define __OPENCV_NONFREE_OCL_HPP__
74 explicit SURF_OCL(
double _hessianThreshold,
int _nOctaves = 4,
75 int _nOctaveLayers = 2,
bool _extended =
true,
float _keypointsRatio = 0.01
f,
bool _upright =
false);
78 int descriptorSize()
const;
80 int descriptorType()
const;
83 void uploadKeypoints(
const vector<cv::KeyPoint> &
keypoints,
oclMat &keypointsocl);
85 void downloadKeypoints(
const oclMat &keypointsocl, vector<KeyPoint> &
keypoints);
87 void downloadDescriptors(
const oclMat &descriptorsocl, vector<float> &
descriptors);
102 bool useProvidedKeypoints =
false);
105 bool useProvidedKeypoints =
false);
107 bool useProvidedKeypoints =
false);
111 CV_OUT vector<KeyPoint>&
keypoints)
const;
116 bool useProvidedKeypoints=
false)
const;
120 void releaseMemory();
140 #endif //__OPENCV_NONFREE_OCL_HPP__
int nOctaveLayers
Definition: ocl.hpp:125
KeypointLayout
Definition: ocl.hpp:59
oclMat maxPosBuffer
Definition: ocl.hpp:132
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: highgui_c.h:230
GLint GLvoid * img
Definition: legacy.hpp:1150
oclMat sum
Definition: ocl.hpp:130
const CvArr CvSeq ** keypoints
Definition: compat.hpp:647
float keypointsRatio
max keypoints = min(keypointsRatio * img.size().area(), 65535)
Definition: ocl.hpp:129
Definition: features2d.hpp:249
Speeded up robust features, port from GPU module. /////////////////////////////// SURF //////////////...
Definition: ocl.hpp:56
The n-dimensional matrix class.
Definition: core.hpp:1688
const CvArr CvSeq CvSeq ** descriptors
Definition: compat.hpp:647
float hessianThreshold
Definition: ocl.hpp:123
Definition: core.hpp:4465
bool extended
Definition: ocl.hpp:126
bool upright
Definition: ocl.hpp:127
GLenum GLint GLuint mask
Definition: tracking.hpp:132
int nOctaves
Definition: ocl.hpp:124
oclMat trace
Definition: ocl.hpp:131
Proxy datatype for passing Mat's and vector<>'s as input parameters.
Definition: core.hpp:1400