Jafar
|
Generic descriptor based on a double array (for instance SIFT or SURF). More...
Generic descriptor based on a double array (for instance SIFT or SURF).
This descriptor is invariant by rotation.
Definition at line 19 of file DoubleDescriptor.hpp.
#include <DoubleDescriptor.hpp>
Public Member Functions | |
DoubleDescriptor (jafar::fdetect::InterestFeature *ip, int deslength, const double *descr, double normalizeCoef) | |
DoubleDescriptor (DoubleDescriptor const &m) | |
DoubleDescriptor & | operator= (DoubleDescriptor 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 |
double * | m_descr |
double | m_normalizeCoef |
Friends | |
class | boost::serialization::access |
!! nizar 20100912 : serialization stuff |
jafar::fdetect::DoubleDescriptor::DoubleDescriptor | ( | jafar::fdetect::InterestFeature * | ip, |
int | deslength, | ||
const double * | 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::DoubleDescriptor::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 |