Jafar
|
This class implements a descriptor using the cornerness of Harris for weak comparison, and a zncc score for strong comparison. More...
This class implements a descriptor using the cornerness of Harris for weak comparison, and a zncc score for strong comparison.
Definition at line 18 of file HarrisDescriptor.hpp.
#include <HarrisDescriptor.hpp>
Public Member Functions | |
HarrisDescriptor (jafar::fdetect::InterestFeature *ip, double high, double low, jafar::image::Image const &image, int halfwinsize=4) | |
virtual Descriptor * | clone () |
virtual double | weakComparison (jafar::fdetect::Descriptor *) const |
You need to implement a weak and fast comparison in this function, and matching algorithm can expect this comparison to be rotation invariant. | |
virtual double | strongComparison (jafar::fdetect::Descriptor *, double angle) const |
This comparison can be slower and will be called by matching algorithm for a final confirmation. | |
virtual void | print (std::ostream &s) const |
print the descriptor values in a stream | |
double | high () const |
double | low () const |
double | gPixel () const |
void | setGPixel (double v) |
double | gGradx () const |
void | setGGradx (double v) |
double | gGrady () const |
void | setGGrady (double v) |
double | mean () const |
double | sigma () const |
jafar::image::Image | image () const |
int | halfWindowSize () const |
void | setHalfWindowSize (int halfwinsize) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
double | m_high |
double | m_low |
double | m_gPixel |
double | m_gGradx |
double | m_gGrady |
jafar::image::Image const & | m_image |
jafar::image::Image | subpositionnedimg |
int | m_halfwinsize |
int | m_zncc_count |
double | m_mean |
double | m_sigma |
Friends | |
class | boost::serialization::access |
!! nizar 20100912 : serialization stuff |
double jafar::fdetect::HarrisDescriptor::gGradx | ( | ) | const [inline] |
Definition at line 39 of file HarrisDescriptor.hpp.
double jafar::fdetect::HarrisDescriptor::gGrady | ( | ) | const [inline] |
Definition at line 42 of file HarrisDescriptor.hpp.
double jafar::fdetect::HarrisDescriptor::gPixel | ( | ) | const [inline] |
Definition at line 36 of file HarrisDescriptor.hpp.
int jafar::fdetect::HarrisDescriptor::halfWindowSize | ( | ) | const [inline] |
Definition at line 50 of file HarrisDescriptor.hpp.
double jafar::fdetect::HarrisDescriptor::high | ( | ) | const [inline] |
Definition at line 32 of file HarrisDescriptor.hpp.
jafar::image::Image jafar::fdetect::HarrisDescriptor::image | ( | ) | const [inline] |
Definition at line 48 of file HarrisDescriptor.hpp.
double jafar::fdetect::HarrisDescriptor::low | ( | ) | const [inline] |
Definition at line 34 of file HarrisDescriptor.hpp.
virtual double jafar::fdetect::HarrisDescriptor::strongComparison | ( | jafar::fdetect::Descriptor * | , |
double | angle | ||
) | const [virtual] |
This comparison can be slower and will be called by matching algorithm for a final confirmation.
angle | gives an estimation of the angle between the two images |
Implements jafar::fdetect::Descriptor.
Generated on Wed Oct 15 2014 00:37:35 for Jafar by doxygen 1.7.6.1 |