SIFThough Class Reference

SIFThough accumalates data for the Hough transform used in SIFT. More...

#include <SIFT/SIFThough.H>

Collaboration diagram for SIFThough:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SIFThough ()
 Constructor.
 ~SIFThough ()
 Destructor.
void addValue (const float dx, const float dy, const float doo, const float ds, const float value)
 add value
void getPeak (float &dx, float &dy, float &doo, float &ds) const
 Get the parameter values at the peak.

Detailed Description

SIFThough accumalates data for the Hough transform used in SIFT.

This class is used to accumulate evidence for various possible geometric transforms which are compatible with pairs of matching keypoints. Here we do not solve the general affine transform problem, rather we rely on simple differences between the data available in Keypoint, namely: x, y, scale, and orientation. We tile each dimension into eight bins, yielding a total of 4096 bins. Each pair of matching keypoints votes for 16 bins with linear interpolation (i.e., for two adjacent bins in each dimension. The philosophy and implementation here is very similar to that of FeatureVector.

Definition at line 54 of file SIFThough.H.


Constructor & Destructor Documentation

SIFThough::SIFThough (  ) 

Constructor.

Definition at line 49 of file SIFThough.C.

SIFThough::~SIFThough (  ) 

Destructor.

Definition at line 54 of file SIFThough.C.


Member Function Documentation

void SIFThough::addValue ( const float  dx,
const float  dy,
const float  doo,
const float  ds,
const float  value 
)

add value

Linearly add a value. Indices are as follows: 0.0 <= dx <= 8.0 : [0 .. 7] dx=2.0 falls equally between bins 1 and 2; 0.0 <= dy <= 8.0 : [0 .. 7] dy=2.0 falls equally between bins 1 and 2; 0.0 <= do <= 8.0 : [0 .. 7] do=4.0 falls equally between bins 3 and 4; 0.0 <= ds <= 8.0 : [0 .. 7] ds=4.0 falls equally between bins 3 and 4; Note that the orientation dimension is different as it has Dirichlet boundary conditions.

Definition at line 58 of file SIFThough.C.

Referenced by VisualObjectMatch::pruneByHough().

void SIFThough::getPeak ( float &  dx,
float &  dy,
float &  doo,
float &  ds 
) const

Get the parameter values at the peak.

Definition at line 145 of file SIFThough.C.

Referenced by VisualObjectMatch::pruneByHough().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:48 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3