Jafar
|
This class binds OpenCV2 SURF detector to fdetect. More...
This class binds OpenCV2 SURF detector to fdetect.
Definition at line 85 of file SURFDetector.hpp.
#include <SURFDetector.hpp>
Public Types | |
typedef InterestFeatureT | InterestFeatureType |
typedef fdetect_v2::DetectionResult < InterestFeatureT > | DetectionResult |
Public Member Functions | |
SURFDetectorT (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 DetectionResult | detectIn (jafar::image::Image const &image) |
detects interest features on Module image and computes descriptors | |
DetectionResult | detectIn (jafar::image::Image const &image, const jafar::image::Image &mask, bool with_descriptors) |
detects interest features on Module image on the non masked region, optionnaly computing descriptors | |
void | computeDescriptors (jafar::image::Image const &image, DetectionResult &dr) |
computes descriptors for a given DetectionResult | |
void | computeDescriptors (jafar::image::Image const &image, const jafar::image::Image &mask, DetectionResult &dr) |
computes descriptors for a given DetectionResult using a mask | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Private Attributes | |
cv::SURF | cv_surf |
OpenCV SURF features extractor. | |
Friends | |
class | boost::serialization::access |
!! nizar 20100912 : serialization stuff |
jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::SURFDetectorT | ( | double | _hessianThreshold = 500 , |
int | _nOctaves = 4 , |
||
int | _nOctaveLayers = 2 , |
||
bool | _extended = false |
||
) | [inline] |
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) |
Definition at line 111 of file SURFDetector.hpp.
References jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::cv_surf.
void jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::computeDescriptors | ( | jafar::image::Image const & | image, |
DetectionResult & | dr | ||
) | [inline] |
computes descriptors for a given DetectionResult
Definition at line 154 of file SURFDetector.hpp.
void jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::computeDescriptors | ( | jafar::image::Image const & | image, |
const jafar::image::Image & | mask, | ||
DetectionResult & | dr | ||
) |
computes descriptors for a given DetectionResult using a mask
virtual DetectionResult jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::detectIn | ( | jafar::image::Image const & | image | ) | [inline, virtual] |
detects interest features on Module image and computes descriptors
Implements jafar::fdetect_v2::Detector< InterestFeatureT >.
Definition at line 140 of file SURFDetector.hpp.
DetectionResult jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::detectIn | ( | jafar::image::Image const & | image, |
const jafar::image::Image & | mask, | ||
bool | with_descriptors | ||
) | [virtual] |
detects interest features on Module image on the non masked region, optionnaly computing descriptors
Reimplemented from jafar::fdetect_v2::Detector< InterestFeatureT >.
bool jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::extended | ( | ) | const |
double jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::hessianThreshold | ( | ) | const |
int jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::octaveLayers | ( | ) | const |
int jafar::fdetect_v2::SURFDetectorT< InterestFeatureT >::octaves | ( | ) | const |
Generated on Wed Oct 15 2014 00:37:36 for Jafar by doxygen 1.7.6.1 |