pcl::keypoints::agast::AgastDetector5_8 Class Reference
[Module keypoints]

Detector class for AGAST corner point detector (5_8). More...

#include <pcl/keypoints/agast_2d.h>

Inheritance diagram for pcl::keypoints::agast::AgastDetector5_8:
Inheritance graph
[legend]
Collaboration diagram for pcl::keypoints::agast::AgastDetector5_8:
Collaboration graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< AgastDetector5_8
Ptr
typedef boost::shared_ptr
< const AgastDetector5_8
ConstPtr

Public Member Functions

 AgastDetector5_8 (const size_t width, const size_t height, const double threshold, const double bmax=255)
 Constructor.
 ~AgastDetector5_8 ()
 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.

Detailed Description

Detector class for AGAST corner point detector (5_8).

Adapted from the C++ implementation of Elmar Mair (http://www6.in.tum.de/Main/ResearchAgast).

Author:
Stefan Holzer

Definition at line 348 of file agast_2d.h.


Member Typedef Documentation

Reimplemented from pcl::keypoints::agast::AbstractAgastDetector.

Definition at line 352 of file agast_2d.h.

Reimplemented from pcl::keypoints::agast::AbstractAgastDetector.

Definition at line 351 of file agast_2d.h.


Constructor & Destructor Documentation

pcl::keypoints::agast::AgastDetector5_8::AgastDetector5_8 ( const size_t  width,
const 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 360 of file agast_2d.h.

pcl::keypoints::agast::AgastDetector5_8::~AgastDetector5_8 (  )  [inline]

Destructor.

Definition at line 370 of file agast_2d.h.


Member Function Documentation

int pcl::keypoints::agast::AgastDetector5_8::computeCornerScore ( const float *  im  )  const [virtual]

Computes corner score.

Parameters:
im 

Implements pcl::keypoints::agast::AbstractAgastDetector.

int pcl::keypoints::agast::AgastDetector5_8::computeCornerScore ( const unsigned char *  im  )  const [virtual]

Computes corner score.

Parameters:
im 

Implements pcl::keypoints::agast::AbstractAgastDetector.

void pcl::keypoints::agast::AgastDetector5_8::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.

Parameters:
[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::AgastDetector5_8::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.

Parameters:
[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::AgastDetector5_8::initPattern (  )  [protected, virtual]

Initializes the sample pattern.

Implements pcl::keypoints::agast::AbstractAgastDetector.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends