Detector class for AGAST corner point detector (OAST 9_16). More...
#include <pcl/keypoints/agast_2d.h>
|
|
OastDetector9_16 (const std::size_t width, const std::size_t height, const double threshold, const double bmax=255) |
|
Constructor. More...
|
|
|
~OastDetector9_16 () |
|
Destructor. More...
|
|
int |
computeCornerScore (const unsigned char *im) const override |
|
Computes corner score. More...
|
|
int |
computeCornerScore (const float *im) const override |
|
Computes corner score. More...
|
|
void |
detect (const unsigned char *im, std::vector< pcl::PointUV, Eigen::aligned_allocator< pcl::PointUV > > &corners_all) const override |
|
Detects points of interest (i.e., keypoints) in the given image. More...
|
|
void |
detect (const float *im, std::vector< pcl::PointUV, Eigen::aligned_allocator< pcl::PointUV > > &corners_all) const override |
|
Detects points of interest (i.e., keypoints) in the given image. More...
|
|
|
AbstractAgastDetector (const std::size_t width, const std::size_t height, const double threshold, const double bmax) |
|
Constructor. More...
|
|
virtual |
~AbstractAgastDetector () |
|
Destructor. More...
|
|
void |
detectKeypoints (const std::vector< unsigned char > &intensity_data, pcl::PointCloud< pcl::PointUV > &output) const |
|
Detects corner points. More...
|
|
void |
detectKeypoints (const std::vector< float > &intensity_data, pcl::PointCloud< pcl::PointUV > &output) const |
|
Detects corner points. More...
|
|
void |
applyNonMaxSuppression (const std::vector< unsigned char > &intensity_data, const pcl::PointCloud< pcl::PointUV > &input, pcl::PointCloud< pcl::PointUV > &output) |
|
Applies non-max-suppression. More...
|
|
void |
applyNonMaxSuppression (const std::vector< float > &intensity_data, const pcl::PointCloud< pcl::PointUV > &input, pcl::PointCloud< pcl::PointUV > &output) |
|
Applies non-max-suppression. More...
|
|
void |
setThreshold (const double threshold) |
|
Sets the threshold for corner detection. More...
|
|
double |
getThreshold () |
|
Get the threshold for corner detection, as set by the user. More...
|
|
void |
setMaxKeypoints (const unsigned int nr_max_keypoints) |
|
Sets the maximum number of keypoints to return. More...
|
|
unsigned int |
getMaxKeypoints () |
|
Get the maximum number of keypoints to return, as set by the user. More...
|
|
Detector class for AGAST corner point detector (OAST 9_16).
Adapted from the C++ implementation of Elmar Mair (http://www6.in.tum.de/Main/ResearchAgast).
- Author
- Stefan Holzer
Definition at line 408 of file agast_2d.h.
ConstPtr
Ptr
OastDetector9_16()
pcl::keypoints::agast::OastDetector9_16::OastDetector9_16 | ( | const std::size_t |
width, | | | const std::size_t |
height, | | | const double |
threshold, | | | const double |
bmax = 255 | | ) | |
| | inline |
Constructor.
- Parameters
-
[in] |
width |
the width of the image to process |
[in] |
height |
the height of the image to process |
[in] |
threshold |
the corner detection threshold |
[in] |
bmax |
the max image value (default: 255) |
Definition at line 420 of file agast_2d.h.
~OastDetector9_16()
pcl::keypoints::agast::OastDetector9_16::~OastDetector9_16 | ( | |
) | | | inline |
computeCornerScore() [1/2]
int pcl::keypoints::agast::OastDetector9_16::computeCornerScore | ( | const float * | im |
) | const | | overridevirtual |
computeCornerScore() [2/2]
int pcl::keypoints::agast::OastDetector9_16::computeCornerScore | ( | const unsigned char * | im |
) | const | | overridevirtual |
detect() [1/2]
void pcl::keypoints::agast::OastDetector9_16::detect | ( | const float * |
im, | | | std::vector< pcl::PointUV, Eigen::aligned_allocator< pcl::PointUV > > & |
corners_all | | ) | |
const | | overridevirtual |
Detects points of interest (i.e., keypoints) in the given image.
- Parameters
-
[in] |
im |
the image to detect keypoints in |
[out] |
corners_all |
the resultant set of keypoints detected |
Implements pcl::keypoints::agast::AbstractAgastDetector.
detect() [2/2]
void pcl::keypoints::agast::OastDetector9_16::detect | ( | const unsigned char * |
im, | | | std::vector< pcl::PointUV, Eigen::aligned_allocator< pcl::PointUV > > & |
corners_all | | ) | |
const | | overridevirtual |
Detects points of interest (i.e., keypoints) in the given image.
- Parameters
-
[in] |
im |
the image to detect keypoints in |
[out] |
corners_all |
the resultant set of keypoints detected |
Implements pcl::keypoints::agast::AbstractAgastDetector.
initPattern()
void pcl::keypoints::agast::OastDetector9_16::initPattern | ( | |
) | | | overrideprotectedvirtual |
The documentation for this class was generated from the following file: