Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes | Friends
jafar::fdetect::SURFDetector Class Reference

This class binds OpenCV2 SURF detector to fdetect. More...


Detailed Description

This class binds OpenCV2 SURF detector to fdetect.

Definition at line 29 of file SURFDetector.hpp.

#include <SURFDetector.hpp>

Inheritance diagram for jafar::fdetect::SURFDetector:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

jafar::fdetect::SURFDetector::SURFDetector ( double  _hessianThreshold = 500,
int  _nOctaves = 4,
int  _nOctaveLayers = 2,
bool  _extended = false 
)

Constructor.

Parameters:
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)

Member Function Documentation

Returns:
the kind of descriptors
Returns:
the hessian threshold
Returns:
the number of layers per octave
Returns:
the number of octaves

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

Generated on Wed Oct 15 2014 00:37:35 for Jafar by doxygen 1.7.6.1
LAAS-CNRS