Jafar
|
This class binds OpenCV2 STARDetector to fdetect STAR detector is a modified version of CenSurE features detector. More...
This class binds OpenCV2 STARDetector to fdetect STAR detector is a modified version of CenSurE features detector.
STAR claims to be runtime complient while outperforming HARRIS for robustness. It is very important to note that the descriptors are computed using SURF algorithm.
Definition at line 113 of file STARDetector.hpp.
#include <STARDetector.hpp>
Public Types | |
typedef InterestFeatureT | InterestFeatureType |
typedef fdetect_v2::DetectionResult < InterestFeatureT > | DetectionResult |
Public Member Functions | |
STARDetectorT (int _maxSize, int _responseThreshold, int _lineThresholdProjected, int _lineThresholdBinarized, int _suppressNonmaxSize) | |
Constructor. | |
STARDetectorT () | |
Constructor with default parameters if you don't know what to put. | |
virtual DetectionResult | detectIn (jafar::image::Image const &image) |
detects interest features on Module image and computes descriptors | |
DetectionResult | detectIn (jafar::image::Image const &image, 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 | setMaxSize (int _maxSize) |
void | setResponseThreshold (int _responseThreshold) |
void | setLineThresholdProjected (int _lineThresholdProjected) |
void | setLineThresholdBinarized (int _lineThresholdBinarized) |
void | setSuppressNonmaxSize (int _suppressNonmaxSize) |
int | maxSize () const |
int | responseThreshold () const |
int | lineThresholdProjected () const |
int | lineThresholdBinarized () const |
int | suppressNonmaxSize () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Private Attributes | |
cv::StarDetector | cv_star |
OpenCV STAR features extractor. | |
Friends | |
class | boost::serialization::access |
!! nizar 20100912 : serialization stuff |
jafar::fdetect_v2::STARDetectorT< InterestFeatureT >::STARDetectorT | ( | int | _maxSize, |
int | _responseThreshold, | ||
int | _lineThresholdProjected, | ||
int | _lineThresholdBinarized, | ||
int | _suppressNonmaxSize | ||
) | [inline] |
Constructor.
maxSize,: | maximum size of the features. The following values of the parameter are supported: 4, 6, 8, 11, 12, 16, 22, 23, 32, 45, 46, 64, 90, 128 |
responseThreshold,: | threshold for the approximated laplacian, used to eliminate weak features. The larger it is, the less features will be retrieved |
lineThresholdProjected,: | another threshold for the laplacian to eliminate edges |
lineThresholdBinarized,: | another threshold for the feature size to eliminate edges. The larger the 2 threshold, the more points you get. |
Definition at line 131 of file STARDetector.hpp.
void jafar::fdetect_v2::STARDetectorT< InterestFeatureT >::computeDescriptors | ( | jafar::image::Image const & | image, |
DetectionResult & | dr | ||
) |
computes descriptors for a given DetectionResult
virtual DetectionResult jafar::fdetect_v2::STARDetectorT< 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 147 of file STARDetector.hpp.
DetectionResult jafar::fdetect_v2::STARDetectorT< InterestFeatureT >::detectIn | ( | jafar::image::Image const & | image, |
bool | with_descriptors | ||
) |
detects interest features on Module image on the non masked region, optionnaly computing descriptors
Generated on Wed Oct 15 2014 00:37:36 for Jafar by doxygen 1.7.6.1 |