#include <AstDetector.h>
Public Member Functions | |
AstDetector () | |
AstDetector (int width, int height, int thr) | |
virtual int | cornerScore (const unsigned char *p, bool ignorePattern=false)=0 |
virtual void | detect (const unsigned char *im, std::vector< CvPoint > &corners_all)=0 |
virtual int | get_borderWidth ()=0 |
void | nms (const unsigned char *im, const std::vector< CvPoint > &corners_all, std::vector< CvPoint > &corners_nms) |
void | processImage (const unsigned char *im, std::vector< CvPoint > &keypoints_nms) |
void | set_imageSize (int xsize_, int ysize_) |
void | set_threshold (int b_) |
virtual | ~AstDetector () |
Protected Member Functions | |
virtual void | init_pattern ()=0 |
void | nonMaximumSuppression (const std::vector< CvPoint > &corners_all, std::vector< CvPoint > &corners_nms) |
void | score (const unsigned char *i, const std::vector< CvPoint > &corners_all) |
Protected Attributes | |
int | b |
std::vector< int > | nmsFlags |
std::vector< int > | scores |
int | xsize |
int | ysize |
Definition at line 29 of file AstDetector.h.
agast::AstDetector::AstDetector | ( | ) | [inline] |
Definition at line 32 of file AstDetector.h.
agast::AstDetector::AstDetector | ( | int | width, |
int | height, | ||
int | thr | ||
) | [inline] |
Definition at line 33 of file AstDetector.h.
virtual agast::AstDetector::~AstDetector | ( | ) | [inline, virtual] |
Definition at line 34 of file AstDetector.h.
virtual int agast::AstDetector::cornerScore | ( | const unsigned char * | p, |
bool | ignorePattern = false |
||
) | [pure virtual] |
Implemented in agast::AgastDetector5_8, agast::AgastDetector7_12d, agast::AgastDetector7_12s, and agast::OastDetector9_16.
virtual void agast::AstDetector::detect | ( | const unsigned char * | im, |
std::vector< CvPoint > & | corners_all | ||
) | [pure virtual] |
Implemented in agast::AgastDetector5_8, agast::AgastDetector7_12d, agast::AgastDetector7_12s, and agast::OastDetector9_16.
virtual int agast::AstDetector::get_borderWidth | ( | ) | [pure virtual] |
Implemented in agast::AgastDetector5_8, agast::AgastDetector7_12d, agast::AgastDetector7_12s, and agast::OastDetector9_16.
virtual void agast::AstDetector::init_pattern | ( | ) | [protected, pure virtual] |
Implemented in agast::OastDetector9_16, agast::AgastDetector7_12d, agast::AgastDetector7_12s, and agast::AgastDetector5_8.
void AstDetector::nms | ( | const unsigned char * | im, |
const std::vector< CvPoint > & | corners_all, | ||
std::vector< CvPoint > & | corners_nms | ||
) |
Reimplemented in agast::AgastDetector5_8, agast::AgastDetector7_12d, agast::AgastDetector7_12s, and agast::OastDetector9_16.
Definition at line 51 of file AstDetector.cc.
void AstDetector::nonMaximumSuppression | ( | const std::vector< CvPoint > & | corners_all, |
std::vector< CvPoint > & | corners_nms | ||
) | [protected] |
Definition at line 29 of file nonMaximumSuppression.cc.
void agast::AstDetector::processImage | ( | const unsigned char * | im, |
std::vector< CvPoint > & | keypoints_nms | ||
) | [inline] |
Definition at line 39 of file AstDetector.h.
void AstDetector::score | ( | const unsigned char * | i, |
const std::vector< CvPoint > & | corners_all | ||
) | [protected] |
Definition at line 25 of file AstDetector.cc.
void agast::AstDetector::set_imageSize | ( | int | xsize_, |
int | ysize_ | ||
) | [inline] |
Definition at line 45 of file AstDetector.h.
void agast::AstDetector::set_threshold | ( | int | b_ | ) | [inline] |
Definition at line 44 of file AstDetector.h.
int agast::AstDetector::b [protected] |
Definition at line 56 of file AstDetector.h.
std::vector<int> agast::AstDetector::nmsFlags [protected] |
Definition at line 54 of file AstDetector.h.
std::vector<int> agast::AstDetector::scores [protected] |
Definition at line 53 of file AstDetector.h.
int agast::AstDetector::xsize [protected] |
Definition at line 55 of file AstDetector.h.
int agast::AstDetector::ysize [protected] |
Definition at line 55 of file AstDetector.h.