#include <gpu.hpp>
List of all members.
Public Types |
| enum | { LOCATION_ROW = 0,
RESPONSE_ROW,
ROWS_COUNT
} |
Public Member Functions |
| | FAST_GPU (int threshold, bool nonmaxSupression=true, double keypointsRatio=0.05) |
| void | operator() (const GpuMat &image, const GpuMat &mask, GpuMat &keypoints) |
| void | operator() (const GpuMat &image, const GpuMat &mask, std::vector< KeyPoint > &keypoints) |
| void | downloadKeypoints (const GpuMat &d_keypoints, std::vector< KeyPoint > &keypoints) |
| | download keypoints from device to host memory
|
| void | convertKeypoints (const Mat &h_keypoints, std::vector< KeyPoint > &keypoints) |
| | convert keypoints to KeyPoint vector
|
| void | release () |
| | release temporary buffer's memory
|
| int | calcKeyPointsLocation (const GpuMat &image, const GpuMat &mask) |
| int | getKeyPoints (GpuMat &keypoints) |
Public Attributes |
| bool | nonmaxSupression |
| int | threshold |
| double | keypointsRatio |
| | max keypoints = keypointsRatio * img.size().area()
|
Static Public Attributes |
| static const int | FEATURE_SIZE = 7 |
Member Enumeration Documentation
- Enumerator:
| LOCATION_ROW |
|
| RESPONSE_ROW |
|
| ROWS_COUNT |
|
Constructor & Destructor Documentation
Member Function Documentation
finds the keypoints using FAST detector supports only CV_8UC1 images
download keypoints from device to host memory
release temporary buffer's memory
find keypoints and compute it's response if nonmaxSupression is true return count of detected keypoints
get final array of keypoints performs nonmax supression if needed return final count of keypoints
Member Data Documentation
max keypoints = keypointsRatio * img.size().area()
The documentation for this class was generated from the following file: