Point Cloud Library (PCL)
1.7.0
|
Detector class for AGAST corner point detector (7_12s). More...
#include <pcl/keypoints/agast_2d.h>
Public Types | |
typedef boost::shared_ptr < AgastDetector7_12s > | Ptr |
typedef boost::shared_ptr < const AgastDetector7_12s > | ConstPtr |
Public Member Functions | |
AgastDetector7_12s (const size_t width, const size_t height, const double threshold, const double bmax=255) | |
Constructor. | |
~AgastDetector7_12s () | |
Destructor. | |
int | computeCornerScore (const unsigned char *im) const |
Computes corner score. | |
int | computeCornerScore (const float *im) const |
Computes corner score. | |
void | detect (const unsigned char *im, std::vector< pcl::PointUV, Eigen::aligned_allocator< pcl::PointUV > > &corners_all) const |
Detects points of interest (i.e., keypoints) in the given image. | |
void | detect (const float *im, std::vector< pcl::PointUV, Eigen::aligned_allocator< pcl::PointUV > > &corners_all) const |
Detects points of interest (i.e., keypoints) in the given image. | |
Protected Member Functions | |
void | initPattern () |
Initializes the sample pattern. |
Detector class for AGAST corner point detector (7_12s).
Adapted from the C++ implementation of Elmar Mair (http://www6.in.tum.de/Main/ResearchAgast).
Definition at line 266 of file agast_2d.h.
typedef boost::shared_ptr<const AgastDetector7_12s> pcl::keypoints::agast::AgastDetector7_12s::ConstPtr |
Reimplemented from pcl::keypoints::agast::AbstractAgastDetector.
Definition at line 270 of file agast_2d.h.
typedef boost::shared_ptr<AgastDetector7_12s> pcl::keypoints::agast::AgastDetector7_12s::Ptr |
Reimplemented from pcl::keypoints::agast::AbstractAgastDetector.
Definition at line 269 of file agast_2d.h.
pcl::keypoints::agast::AgastDetector7_12s::AgastDetector7_12s | ( | const size_t | width, |
const size_t | height, | ||
const double | threshold, | ||
const double | bmax = 255 |
||
) | [inline] |
Constructor.
[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 278 of file agast_2d.h.
Destructor.
Definition at line 288 of file agast_2d.h.
int pcl::keypoints::agast::AgastDetector7_12s::computeCornerScore | ( | const unsigned char * | im | ) | const [virtual] |
int pcl::keypoints::agast::AgastDetector7_12s::computeCornerScore | ( | const float * | im | ) | const [virtual] |
void pcl::keypoints::agast::AgastDetector7_12s::detect | ( | const unsigned char * | im, |
std::vector< pcl::PointUV, Eigen::aligned_allocator< pcl::PointUV > > & | corners_all | ||
) | const [virtual] |
Detects points of interest (i.e., keypoints) in the given image.
[in] | im | the image to detect keypoints in |
[out] | corners_all | the resultant set of keypoints detected |
Implements pcl::keypoints::agast::AbstractAgastDetector.
void pcl::keypoints::agast::AgastDetector7_12s::detect | ( | const float * | im, |
std::vector< pcl::PointUV, Eigen::aligned_allocator< pcl::PointUV > > & | corners_all | ||
) | const [virtual] |
Detects points of interest (i.e., keypoints) in the given image.
[in] | im | the image to detect keypoints in |
[out] | corners_all | the resultant set of keypoints detected |
Implements pcl::keypoints::agast::AbstractAgastDetector.
void pcl::keypoints::agast::AgastDetector7_12s::initPattern | ( | ) | [protected, virtual] |
Initializes the sample pattern.
Implements pcl::keypoints::agast::AbstractAgastDetector.