Jafar
|
This class binds OpenCV2 SURF detector to fdetect. More...
This class binds OpenCV2 SURF detector to fdetect.
Definition at line 29 of file SURFDetector.hpp.
#include <SURFDetector.hpp>
Public Member Functions | |
SURFDetector (double _hessianThreshold=500, int _nOctaves=4, int _nOctaveLayers=2, bool _extended=false) | |
Constructor. | |
bool | extended () const |
double | hessianThreshold () const |
int | octaves () const |
int | octaveLayers () const |
void | setExtended (bool _extended) |
sets the type of the descriptors | |
void | setHessianThreshold (double _hessianThreshold) |
sets the hessian threshold | |
void | setOctaves (int _nOctave) |
sets the number of octaves | |
void | setOctaveLayers (int _nOctaveLayers) |
sets the number of layers per octave | |
virtual fdetect::DetectionResult | detectIn (jafar::image::Image const &image) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Private Attributes | |
cv::SURF | cv_surf |
OpenCV SURF features extractor. | |
std::vector< cv::KeyPoint > | cv_keypoints |
OpenCV detected key points. | |
std::vector< float > | cv_descriptors |
OpenCV computed descriptors. | |
Friends | |
class | boost::serialization::access |
!! nizar 20100912 : serialization stuff |
jafar::fdetect::SURFDetector::SURFDetector | ( | double | _hessianThreshold = 500 , |
int | _nOctaves = 4 , |
||
int | _nOctaveLayers = 2 , |
||
bool | _extended = false |
||
) |
Constructor.
hessianThreshold,: | hessian threshold for a feature. A good value could be in 300..500 |
nOctave,: | number of octaves to be used for extraction |
nOctaveLayers,: | number of layers within each octave |
extended,: | use extended descriptors (128) or not (64) |
bool jafar::fdetect::SURFDetector::extended | ( | ) | const |
double jafar::fdetect::SURFDetector::hessianThreshold | ( | ) | const |
int jafar::fdetect::SURFDetector::octaveLayers | ( | ) | const |
int jafar::fdetect::SURFDetector::octaves | ( | ) | const |
Generated on Wed Oct 15 2014 00:37:35 for Jafar by doxygen 1.7.6.1 |