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 17 of file RealDescriptor.hpp.
#include <RealDescriptor.hpp>
Public Types | |
typedef REALTYPE | RealType |
Public Member Functions | |
RealDescriptor (const std::vector< REALTYPE > &descr, REALTYPE normalizeCoef) | |
template<typename InputIterator > | |
RealDescriptor (InputIterator begin, InputIterator end, REALTYPE normalizeCoef) | |
REALTYPE | weakComparison (const jafar::fdetect_v2::RealDescriptor< REALTYPE > &snd) |
The weak comparison call the strong comparison with an angle set to 0. | |
REALTYPE | strongComparison (const jafar::fdetect_v2::RealDescriptor< REALTYPE > &snd, REALTYPE angle) |
The strong comparison for this descriptor is the square distance. | |
size_t | size () const |
virtual Type | type () |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Public Attributes | |
std::vector< REALTYPE > | m_descr |
REALTYPE | m_normalizeCoef |
Friends | |
class | boost::serialization::access |
jafar::fdetect_v2::RealDescriptor< REALTYPE >::RealDescriptor | ( | const std::vector< REALTYPE > & | descr, |
REALTYPE | normalizeCoef | ||
) | [inline] |
descr | a vector with the values of the descriptor |
normalizeCoef | normalization coeficient used in strongComparison for the square distance |
Definition at line 26 of file RealDescriptor.hpp.
jafar::fdetect_v2::RealDescriptor< REALTYPE >::RealDescriptor | ( | InputIterator | begin, |
InputIterator | end, | ||
REALTYPE | normalizeCoef | ||
) | [inline] |
begin | an iterator pointing to the descriptor begin |
end | an iterator pointing to the descriptor end |
normalizeCoef | normalization coeficient used in strongComparison for the square distance |
Definition at line 36 of file RealDescriptor.hpp.
REALTYPE jafar::fdetect_v2::RealDescriptor< REALTYPE >::strongComparison | ( | const jafar::fdetect_v2::RealDescriptor< REALTYPE > & | snd, |
REALTYPE | angle | ||
) | [inline] |
The strong comparison for this descriptor is the square distance.
angle | is not used by that kind of descriptor which are invariant by rotation. |
Definition at line 51 of file RealDescriptor.hpp.
Referenced by jafar::fdetect_v2::RealDescriptor< REALTYPE >::weakComparison().
Generated on Wed Oct 15 2014 00:37:36 for Jafar by doxygen 1.7.6.1 |