Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes | Friends
jafar::fdetect::HarrisDescriptor Class Reference

This class implements a descriptor using the cornerness of Harris for weak comparison, and a zncc score for strong comparison. More...


Detailed Description

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>

Inheritance diagram for jafar::fdetect::HarrisDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 HarrisDescriptor (jafar::fdetect::InterestFeature *ip, double high, double low, jafar::image::Image const &image, int halfwinsize=4)
virtual Descriptorclone ()
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

Member Function Documentation

double jafar::fdetect::HarrisDescriptor::gGradx ( ) const [inline]
Returns:
the horizontal gradient

Definition at line 39 of file HarrisDescriptor.hpp.

double jafar::fdetect::HarrisDescriptor::gGrady ( ) const [inline]
Returns:
the vertical gradient

Definition at line 42 of file HarrisDescriptor.hpp.

double jafar::fdetect::HarrisDescriptor::gPixel ( ) const [inline]
Returns:
the intensity

Definition at line 36 of file HarrisDescriptor.hpp.

Returns:
half window size

Definition at line 50 of file HarrisDescriptor.hpp.

double jafar::fdetect::HarrisDescriptor::high ( ) const [inline]
Returns:
the high cornerness (lambda1)

Definition at line 32 of file HarrisDescriptor.hpp.

Returns:
the image

Definition at line 48 of file HarrisDescriptor.hpp.

double jafar::fdetect::HarrisDescriptor::low ( ) const [inline]
Returns:
the low cornerness (lambda2)

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.

Parameters:
anglegives an estimation of the angle between the two images

Implements jafar::fdetect::Descriptor.


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