Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
jafar::fdetect_v2::STARDetectorT< InterestFeatureT > Class Template Reference

This class binds OpenCV2 STARDetector to fdetect STAR detector is a modified version of CenSurE features detector. More...


Detailed Description

template<typename InterestFeatureT>
class jafar::fdetect_v2::STARDetectorT< InterestFeatureT >

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>

Inheritance diagram for jafar::fdetect_v2::STARDetectorT< InterestFeatureT >:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

template<typename InterestFeatureT >
jafar::fdetect_v2::STARDetectorT< InterestFeatureT >::STARDetectorT ( int  _maxSize,
int  _responseThreshold,
int  _lineThresholdProjected,
int  _lineThresholdBinarized,
int  _suppressNonmaxSize 
) [inline]

Constructor.

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


Member Function Documentation

template<typename InterestFeatureT >
void jafar::fdetect_v2::STARDetectorT< InterestFeatureT >::computeDescriptors ( jafar::image::Image const &  image,
DetectionResult dr 
)

computes descriptors for a given DetectionResult

Returns:
the DetectionResult with descriptors computed
template<typename InterestFeatureT >
virtual DetectionResult jafar::fdetect_v2::STARDetectorT< InterestFeatureT >::detectIn ( jafar::image::Image const &  image) [inline, virtual]

detects interest features on Module image and computes descriptors

Returns:
detection result

Implements jafar::fdetect_v2::Detector< InterestFeatureT >.

Definition at line 147 of file STARDetector.hpp.

template<typename InterestFeatureT >
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

Returns:
detection result

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:36 for Jafar by doxygen 1.7.6.1
LAAS-CNRS