Public Member Functions | Private Member Functions | Private Attributes
HoughClusterer Class Reference

Clusters feature matches using hough transform clustering. More...

#include <HoughClusterer.h>

List of all members.

Public Member Functions

std::vector< std::list
< KeyPointMatch > > 
clusterAccumulator ()
void getImage (cv::Mat &target)
std::string getLog ()
float getVariance ()
 HoughClusterer ()
 HoughClusterer (std::vector< KeyPoint > *sceneKeyPoints, std::vector< KeyPoint > *objectImageKeyPoints, Point2D center, int imageWidth, int imageHeight)
 The constructor builds 4-dimensional accumulator-array of scale, orientation and 2-D-location.
void setNNMatches (std::list< KeyPointMatch > nnrMatches)
 ~HoughClusterer ()
 The destructor.

Private Member Functions

bool getAccumulatorValue (KeyPoint scenePoint, KeyPoint objectPoint, unsigned int &value)
void incrAccumulatorValue (KeyPoint scenePoint, KeyPoint objectPoint, KeyPointMatch match)

Private Attributes

Point2D m_Center
HoughAccumulatorm_HoughAccumulator
int m_ImageHeight
int m_ImageWidth
std::ostringstream m_Log
std::vector< KeyPoint > * m_ObjectImageKeyPoints
int m_OrientationBins
int m_ScaleBins
std::vector< KeyPoint > * m_SceneKeyPoints
int m_XLocationBins
int m_YLocationBins

Detailed Description

Clusters feature matches using hough transform clustering.

Author:
Susanne Thierfelder (R12)

Definition at line 33 of file HoughClusterer.h.


Constructor & Destructor Documentation

Definition at line 37 of file HoughClusterer.h.

HoughClusterer::HoughClusterer ( std::vector< KeyPoint > *  sceneKeyPoints,
std::vector< KeyPoint > *  objectImageKeyPoints,
Point2D  center,
int  imageWidth,
int  imageHeight 
)

The constructor builds 4-dimensional accumulator-array of scale, orientation and 2-D-location.

Parameters:
sceneKeyPointsList of keypoints of the scene
objectImageKeyPointsList of keypoints from learned object
nnrMatchesMatchList with indices

The destructor.


Member Function Documentation

std::vector< std::list< KeyPointMatch> > HoughClusterer::clusterAccumulator ( )
bool HoughClusterer::getAccumulatorValue ( KeyPoint  scenePoint,
KeyPoint  objectPoint,
unsigned int &  value 
) [private]
void HoughClusterer::getImage ( cv::Mat &  target)
std::string HoughClusterer::getLog ( )
void HoughClusterer::incrAccumulatorValue ( KeyPoint  scenePoint,
KeyPoint  objectPoint,
KeyPointMatch  match 
) [private]
void HoughClusterer::setNNMatches ( std::list< KeyPointMatch nnrMatches)

Member Data Documentation

Point2D HoughClusterer::m_Center [private]

Definition at line 67 of file HoughClusterer.h.

Definition at line 71 of file HoughClusterer.h.

Definition at line 79 of file HoughClusterer.h.

Definition at line 78 of file HoughClusterer.h.

std::ostringstream HoughClusterer::m_Log [private]

Definition at line 69 of file HoughClusterer.h.

Definition at line 65 of file HoughClusterer.h.

Definition at line 74 of file HoughClusterer.h.

Definition at line 73 of file HoughClusterer.h.

std::vector< KeyPoint >* HoughClusterer::m_SceneKeyPoints [private]

Definition at line 64 of file HoughClusterer.h.

Definition at line 75 of file HoughClusterer.h.

Definition at line 76 of file HoughClusterer.h.


The documentation for this class was generated from the following file:


or_libs
Author(s): Viktor Seib
autogenerated on Tue Jan 7 2014 11:24:03