|
Jafar
|
Generic descriptor based on a float array (for instance SIFT or SURF). More...
Generic descriptor based on a float array (for instance SIFT or SURF).
This descriptor is invariant by rotation.
Definition at line 18 of file FloatDescriptor.hpp.
#include <FloatDescriptor.hpp>

Public Member Functions | |
| FloatDescriptor (jafar::fdetect::InterestFeature *ip, int deslength, const float *descr, double normalizeCoef) | |
| FloatDescriptor (FloatDescriptor const &m) | |
| FloatDescriptor & | operator= (FloatDescriptor const &m) |
| virtual Descriptor * | clone () |
| virtual void | print (std::ostream &s) const |
| print the descriptor values in a stream | |
| virtual double | weakComparison (jafar::fdetect::Descriptor *) const |
| The weak comparison call the strong comparison with an angle set to 0. | |
| virtual double | strongComparison (jafar::fdetect::Descriptor *snd, double angle) const |
| The strong comparison for this descriptor is the square distance. | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Attributes | |
| int | m_descLength |
| float * | m_descr |
| double | m_normalizeCoef |
Friends | |
| class | boost::serialization::access |
| !! nizar 20100912 : serialization stuff | |
| jafar::fdetect::FloatDescriptor::FloatDescriptor | ( | jafar::fdetect::InterestFeature * | ip, |
| int | deslength, | ||
| const float * | descr, | ||
| double | normalizeCoef | ||
| ) |
| ip | the interest point associated with this descriptor |
| deslength | the number of elements in the descriptor |
| descr | an array with the values of the descriptor |
| normalizeCoef | normalization coeficient used in strongComparison for the square distance |
| virtual double jafar::fdetect::FloatDescriptor::strongComparison | ( | jafar::fdetect::Descriptor * | snd, |
| double | angle | ||
| ) | const [virtual] |
The strong comparison for this descriptor is the square distance.
| angle | is not used by that kind of descriptor which are invariant by rotation. |
Implements jafar::fdetect::Descriptor.
| Generated on Wed Oct 15 2014 00:37:35 for Jafar by doxygen 1.7.6.1 |
|