43 #ifndef __OPENCV_NONFREE_GPU_HPP__
44 #define __OPENCV_NONFREE_GPU_HPP__
48 namespace cv {
namespace gpu {
68 explicit SURF_GPU(
double _hessianThreshold,
int _nOctaves=4,
69 int _nOctaveLayers=2,
bool _extended=
false,
float _keypointsRatio=0.01
f,
bool _upright =
false);
72 int descriptorSize()
const;
75 void uploadKeypoints(
const std::vector<KeyPoint>&
keypoints,
GpuMat& keypointsGPU);
77 void downloadKeypoints(
const GpuMat& keypointsGPU, std::vector<KeyPoint>&
keypoints);
80 void downloadDescriptors(
const GpuMat& descriptorsGPU, std::vector<float>&
descriptors);
96 bool useProvidedKeypoints =
false);
100 bool useProvidedKeypoints =
false);
103 bool useProvidedKeypoints =
false);
105 void releaseMemory();
128 #endif // __OPENCV_NONFREE_GPU_HPP__
bool upright
Definition: gpu.hpp:112
int nOctaveLayers
Definition: gpu.hpp:110
bool extended
Definition: gpu.hpp:111
double hessianThreshold
Definition: gpu.hpp:108
GLint GLvoid * img
Definition: legacy.hpp:1150
GpuMat sum
Definition: gpu.hpp:117
const CvArr CvSeq ** keypoints
Definition: compat.hpp:647
GpuMat maxPosBuffer
Definition: gpu.hpp:121
Smart pointer for GPU memory with reference counting. Its interface is mostly similar with cv::Mat...
Definition: gpumat.hpp:154
const CvArr CvSeq CvSeq ** descriptors
Definition: compat.hpp:647
KeypointLayout
Definition: gpu.hpp:53
float keypointsRatio
max keypoints = min(keypointsRatio * img.size().area(), 65535)
Definition: gpu.hpp:115
GpuMat trace
Definition: gpu.hpp:119
GLenum GLint GLuint mask
Definition: tracking.hpp:132
int nOctaves
Definition: gpu.hpp:109